admin管理员组文章数量:1123712
We are using WordPress 6.7.1, I have created a plugin which checks if there are updates pending, so we can monitor this overall WordPress websites.
But for some reason I can't get all the plugin updates available via either one of these functions:
get_plugin_updates();
get_plugins();
wp_update_plugins();
get_site_transient('update_plugins');
The function get_plugin_updates()
only returns 4 out of 5 and the manual update is missing.
"get_plugin_updates": {
"acf-frontend-form-element/acf-frontend.php": {
"Name": "Frontend Admin",
"PluginURI": "/",
...
},
"gravity-forms-zero-spam/gravityforms-zero-spam.php": {
"Name": "Gravity Forms Zero Spam",
"PluginURI": ";utm_campaign=zero-spam&utm_content=pluginuri",
...
},
"post-expirator/post-expirator.php": {
"Name": "PublishPress Future",
"PluginURI": "/",
...
},
"wp-all-import-pro/wp-all-import-pro.php": {
"Name": "WP All Import Pro",
"PluginURI": "/",
...
}
}
Is there a way to also see the updates pending for plugins which require a manual update?
本文标签: WordPress getpluginupdates missing manual updatesStack Overflow
版权声明:本文标题:WordPress get_plugin_updates missing manual updates - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736585942a1945010.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论