Use these links to let users activate your theme/plugin:
Activate
Activate
After button clicked, user will be redirected back to their site on the page admin_url( 'admin.php?page={YOUR_THEME_PAGE}' ) with available GET variables, that you can use:
Deactivate
Deactivate
After button clicked, user will be redirected back to their site on the page admin_url( 'admin.php?page={YOUR_THEME_PAGE}' ) with available GET variables, that you can use:
After theme/plugin activated, you will be able to use Vatomi API:
Get URL to ZIP file:
https://{YOUR_SITE}/wp-json/vatomi/v1/envato/item_wp_url/{ITEM_ID}?license={PURCHASE_CODE}&site={ACTIVATED_SITE_ADDRESS}
Get item current version number:
https://{YOUR_SITE}/wp-json/vatomi/v1/envato/item_version/{ITEM_ID}
Check valid purchase code (if user purchased item from you):
https://{YOUR_SITE}/wp-json/vatomi/v1/envato/check_license/{PURCHASE_CODE}