kermage / external-update-manager
A drop-in library for WordPress themes or plugins to manage updates.
Installs: 66
Dependents: 1
Suggesters: 0
Security: 0
Stars: 5
Watchers: 4
Forks: 0
Open Issues: 0
Type:wordpress-dropin
Requires
- php: >=5.6.0
- ext-json: *
Requires (Dev)
- themeplate/tester: ^2.2
This package is auto-updated.
Last update: 2024-10-21 01:48:18 UTC
README
"A drop-in library for WordPress themes or plugins to manage updates."
self-hosted...can't be submitted to official WordPress repository...non-GPL licensed...custom-made...commercial...etc.
Requirements
- PHP 5.2.4+
- WordPress 4.4.0+
Installation
- Grab the
class-external-update-manager.php
file and place it somewhere inside the theme or plugin directory - Add a
require_once
call in the theme'sfunctions.php
or in the plugin'smain php file
referencing the class file - Run the
EUM_Handler
with thefull path
of the theme or plugin and theupdate URL
to check for the latest version available
require_once 'class-external-update-manager.php'; EUM_Handler::run( __FILE__, '<UPDATE URL>' );