Advice on when to load the plugin updates checker
Over the past couple of years when maintaining Easy Updates Manager - https://wordpress.org/plugins/stops-core-theme-and-plugin-updates/ - we've had a lots of reports from people with third party plugins and themes whose upgrades aren't detected or performed. On investigation, this is invariably because the component loads PUC only during an `admin_*` hook, which means that those updates are effectively invisible except for a logged-in user viewing a page in the WP dashboard. So, tools like EUM, ManageWP, JetPack Manage, UpdraftCentral, WP-CLI, etc., don't see them - they're invisible.
This commit is contained in:
parent
9748abe1bd
commit
1d9e64368f
|
|
@ -28,6 +28,8 @@ From the users' perspective, it works just like with plugins and themes hosted o
|
|||
Getting Started
|
||||
---------------
|
||||
|
||||
In each of the above examples, part of the instructions are to load the plugin updater class. It is recommended to do this during the `plugins_loaded` WordPress action. If you do it only during an `admin_*` action, then available updates will not be visible to a wide variety of WordPress maanagement components; they would then only be visible to a logged-in user on the dashboard using the dashboard pages.
|
||||
|
||||
### Self-hosted Plugins and Themes
|
||||
|
||||
1. Download [the latest release](https://github.com/YahnisElsts/plugin-update-checker/releases/latest) and copy the `plugin-update-checker` directory to your plugin or theme.
|
||||
|
|
|
|||
Loading…
Reference in New Issue