Are you a theme or plugin developer selling your products on the Envato market? Struggling to manage purchase-code licenses across multiple customer domains? License For Envato is the solution.
Install this plugin on your WordPress site to turn it into a fully-featured license server. It validates Envato purchase codes through the official Envato API and stores per-domain activation records in your database. Your customers activate their copy directly from your theme or plugin settings page — no third-party service required.
Need activation limits, automatic updates, WooCommerce integration, webhooks, blacklisting or an analytics dashboard? Check out License For Envato Pro.
???? How It Works
Server Setup — Install the plugin on your WordPress site and connect your Envato personal token.
Client Integration — Copy the provided PHP class into your theme or plugin and point it at your server URL.
Display the Form — Instantiate the class on your settings page to render an activate/deactivate form for your customers.
⚡ Free Features
Easy one-time server setup
Validates purchase codes via the official Envato API
Per-domain license activation and deactivation
REST API endpoints for client integration (/wp-json/licenseenvato/v1/active, /wp-json/licenseenvato/v1/deactive)
Copy-paste PHP integration class included
Search and manage verified licenses from the admin panel
Copy the PHP class from the documentation into your theme’s functions.php or a dedicated file in your plugin. Set LICENCE_CALL_URL to your WordPress site URL and PREFIX to a unique prefix for your product. Then call new licenseCodeVerifyForm(); on your settings page.
Can I use this for multiple products?
Yes. Use a unique PREFIX constant per product to keep option keys separate in the WordPress database.
Where can I report bugs or contribute?
Bugs can be reported on the GitHub repository. Pull requests are welcome.
Is there a Pro version?
Yes. License For Envato Pro adds activation limits, support-expiry enforcement, email notifications, webhooks, a blacklist, activity logs, manual/bulk issuance, automatic update delivery, WooCommerce integration and an analytics dashboard on top of this free plugin. You can also compare Free vs Pro from wp-admin → License Envato → Settings → Get Pro.
New: “More Plugins” admin page (License Envato → More Plugins) showcasing our other free plugins — Bookyzo and Codeholt Bundles for WooCommerce — with one-click Install Now / Activate buttons and a More Details popup
Plugin details are loaded from WordPress.org and cached for 12 hours
1.4.5 – 13-11-2026
New: Black Friday Sale admin notice offering 60% off License For Envato Pro with copyable coupon code BLACKFRIDAY, available through 30 November 2026 (site timezone)
Removed the ended October Sale notice
1.4.4 – 27-10-2026
Security: a purchase code bought for one item can no longer activate a different item — the sale’s item ID must match the requested item
Security: concurrent activation requests for the same purchase code are now processed one at a time, so they can no longer create duplicate license rows or extra activations
Security: the activation domain must use http:// or https:// (other schemes are rejected)
Security: admin success/error messages are now stored per user on the server instead of being read from the URL
Removed the unused “Token secret key” setting; the General tab now only appears when an add-on (Pro) adds settings to it
October Sale notice: new compact one-row design with a live countdown to the end of the sale; hidden while the Pro add-on is active
“Save Envato Token” button now uses the plugin’s brand color
1.4.3 – 18-10-2026
New: October Sale admin notice offering 30% off all Codeholt products with copyable coupon code OCTOBER30 and an Upgrade Now link.
The notice is available through 31 October 2026, using the WordPress site timezone.
Dismissing the notice saves a browser cookie until the next day, when the notice can appear again.
1.4.2 – 07-10-2026
Security: rate limiting on the public activate and deactivate REST endpoints (per IP, default 20 and 30 requests per 10 minutes) to block purchase-code brute-forcing. Adjustable with the license_envato_rate_limit, license_envato_rate_limit_window and license_envato_rate_limit_ip filters
Security: the activation domain is now validated (hostname, IP or localhost, optionally with scheme, port or path) — malformed values and values containing spaces, control characters or user info are rejected with a 400 error
1.4.1 – 17-09-2026
New: dismissible “Build more with Pro” upsell card on this plugin’s own admin pages (Dashboard, Users, Settings) only — never on the main WordPress Dashboard or any unrelated screen
Free vs Pro comparison table: added a WooCommerce integration row, and moved Automatic update delivery + WooCommerce integration to the top of the Pro feature list, highlighted
Pro Features copy (this readme, the in-plugin comparison table, and the FAQ) now calls out automatic update delivery and WooCommerce integration as the two flagship Pro features
1.4.0 – 09-09-2026
New: Dashboard page — stat cards (Total/Active/Deactivated/Blocked licenses) plus the 5 most recent licenses with a quick-view details popup
New: Item Name is now captured from Envato alongside Item ID and shown on the Dashboard and Users page
Redesigned admin UI — shared design-system stylesheet applied across every plugin screen (cards, stat grid, badges, buttons, modals)
Users page simplified to Username, Item Name, Item id, Status and View — purchase code, support-expiry and per-domain actions moved into the View details popup
Primary buttons and the Free vs Pro “Upgrade to Pro” button now use the plugin’s brand color
Free vs Pro comparison table’s Free/Pro column headers are now centered
Review notice: dismissing (native close or “I already did”) now snoozes for 7 days instead of dismissing forever — only “Ok, you deserve it!” stops it for good
Fixed: dismissing/closing the review notice before actually leaving a review no longer silently disables future prompts
1.3.0 – 07-08-2026
New: Free vs Pro comparison tab under Settings with an upgrade option
New: Get Pro link on the Plugins page and in the side menu (hidden when the Pro add-on is active)
New: dismissible review notice after 7 days of use — dismiss forever, snooze, or rate the plugin
Admin user list can now show every activated domain of a license, each with its own Deactivate action
Admin user list actions are now icons: green check for active domains, red cross to deactivate
Admin Deactivate now runs on admin_init, after add-ons have registered their deactivation overrides
Developer: new license_envato_activate_override and license_envato_deactive_override filters let add-ons extend license verification and deactivation
Developer: new license_envato_license_activated and license_envato_license_deactivated action hooks fire on every activation/deactivation — the deactivated action receives the domain as a third parameter
Developer: new license_envato_userlist_items filter lets add-ons merge extra domain activations into the admin user list
Developer: new license_envato_userlist_domain_actions and license_envato_userlist_row_actions filters let add-ons add per-domain and per-license action icons
License lookups now include licensetype and supported_until, enabling support-period aware add-ons
1.2.1 – 13-07-2026
Fixed fatal error when the Envato API returns an empty response
Fixed duplicate license rows and stale lookups on sites with persistent object caching (Redis/Memcached) — activation, deactivation and admin list caches are now invalidated correctly
Fixed license reactivation not verifying the item ID
Failed activations now return a proper error response instead of an empty success
Admin license list now paginates in SQL — much faster with large license tables
Database schema now upgrades automatically on plugin update — no re-activation needed
Invalid purchase codes are cached for 10 minutes to protect your Envato API quota from repeated attempts
Clearer, translatable security and error messages
Added uninstall cleanup — plugin options and transients are removed on uninstall (license records are preserved for safety)
1.2.0 – 18-05-2026
Plugin version now read dynamically from file header — single source of truth
Documentation moved to GitHub Pages (https://ashrafulsarkar.github.io/license-envato/)
Admin Documentation menu now links directly to the GitHub Pages docs