wpelevator / update-client
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
pkg:composer/wpelevator/update-client
This package is not auto-updated.
Last update: 2025-10-01 09:02:44 UTC
README
Enable updates for your WordPress plugins and themes from a custom update server like WP Elevator Update Server.
Usage
TODO: Document the namespace isolation using vendor-isolator
.
Register your plugin with the update server by adding the following to the main plugin file:
<?php
$plugin_update = new WPElevator\Update_Client\Plugin_Update(
plugin_basename( __FILE__ ),
'https://updates.example.com/wp-json/update-pilot/v1/update-check',
);
add_action( 'plugins_loaded', [ $plugin_update, 'init' ] );