External Update API
Add support for updating themes and plugins via external sources instead of the WordPress.org repos.
by Code For The People · github.com/cftp/external-update-api · website
★ 66stars
5forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/cftp/external-update-api/archive/refs/heads/master.zipFrom the readme
External Update API #
Add support for updating themes and plugins via external sources. Includes an update handler for plugins and themes hosted in public or private repos on GitHub.
Description ##
Add support for updating themes and plugins via external sources instead of the WordPress.org repos. Includes an update handler for plugins and themes hosted on GitHub.
Installation ##
1. Download the plugin ZIP file and extract it into your plugins directory, or clone the repo into your plugins directory with git clone git@github.com:cftp/external-update-api.
2. Activate the plugin.
3. See the Usage section below.
Usage ###
The plugin comes bundled with an update handler for GitHub. To add a handler for a different external source, see the 'Writing a new Handler' section below.
You can tell the update API to use a public or private GitHub repo to update a plugin or theme on your site. To do this, hook into the euapipluginhandler or euapithemehandler hook, respectively, and return a handler for your plugin or theme.
Plug