WP Update Server
Private WordPress Theme and Plugin Server for Envato
★ 12stars
0forks
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/wpquark/wpq-wp-update/archive/refs/heads/develop.zipFrom the readme
WordPress Plugin/Theme Update Server for Envato
Originally developed at WPQuark Private GitLab
This plugins aims to convert your WordPress installation to a secure update server
for your plugins and themes hosted on envato market place.
Usage
This plugin provides a server for easy updates with purchase code verification.
To set things up you need to install the server and configure your plugin.
Installing the Server
Install this plugin by a git clone.
Install composer dependency composer install
Make sure you have grunt available globally. npm install grunt-cli -g
Build the plugin npm install && grunt build
Activate Plugin.
Go to WP Update Settings
Enter your Envato API Key and distribution directory
Map Envato Item ID with ZIP Slug.
Configuring your plugin/theme
Modify and include the file under client/class-plugin-autoupdate.php.
Point to your distribution server by editing the constants.
Now you provide a UI for collecting purchase code from your user and when saving simply call like this:
To show the activation status call this from anywhere
Hack away buddy, hack away.
Releasing Updates
This follows the same logic as wp-update-server with the added benif