A custom update checker for WordPress plugins. Useful if you don't want to host your project in the official WP repository, but would still like it to support automatic updates. Despite the name, it also works with themes.
I have a need to receive extra information back from the server. In particular, I want to receive information that says "updates entitlement soon expires" or "updates entitlement already expired". Currently, the functions in the class PluginUpdate_1_3 strip out anything not in the private $fields. This change adds a filter to allow the consumer to retain any extra fields they wish. |
||
|---|---|---|
| css | ||
| js | ||
| README.md | ||
| debug-bar-panel.php | ||
| debug-bar-plugin.php | ||
| plugin-update-checker.php | ||
README.md
Plugin Update Checker
This is a custom update checker library for WordPress plugins. It lets you add automatic update notifications and one-click upgrades to your commercial and private plugins. All you need to do is put your plugin details in a JSON file, place the file on your server, and pass the URL to the library. The library periodically checks the URL to see if there's a new version available and displays an update notification to the user if necessary.
From the users' perspective, it works just like with plugins hosted on WordPress.org. The update checker uses the default plugin upgrade UI that will already be familiar to most WordPress users.
See this blog post for more information and usage instructions.