Custom Update Checker releasesself-updates
Fix grammar: A sample WordPress plugin with custom update checker. Useful when plugin not hosted on your project in the official WP repository, but would still like it to support automatic updates.
by iamdharmesh · github.com/iamdharmesh/custom-update-checker · website
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/iamdharmesh/custom-update-checker/releases/download/0.3.0/custom-update-checker.zipShips its own WordPress updater (Plugin Update Checker), so new versions show up under Dashboard → Updates.
Readme
Custom Update Checker
Demo WordPress plugin for self-hosted updates via Plugin Update Checker (PUC v5.7) and GitHub Releases.
Requirements
- PHP 7.4+
- WordPress 6.0+
- Composer (development only)
Local setup
-
Clone the repo into
wp-content/plugins/custom-update-checker/(folder name must match the plugin slug):git clone git@github.com:iamdharmesh/custom-update-checker.git wp-content/plugins/custom-update-checker -
Install dependencies:
composer install --no-dev -
Activate Custom Update Checker in the WordPress admin.
Read the full README on GitHub →