Take your business to next level
Become part of our growing family of +600,000 users and get the tools you need to make smart choices for your website. Simple, powerful insights are just a click away.
Starting in v14.15.2 the plugin supports defining your license key(s) directly in the wp-config.php
file. This feature is useful for developers and advanced users who prefer managing licenses through code instead of through the WordPress admin panel.
To define a single license key, add the following line to your wp-config.php
file:
define('WP_STATISTICS_LICENSE', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');
This will register the license automatically when WP Statistics loads.
If you have more than one license (for example, for different add-ons or multiple activations), you can define them as an array:
define('WP_STATISTICS_LICENSE', [
'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
]);
WP Statistics will attempt to validate and activate each license key.
wp-config.php
override any license stored in the database.wp-config.php
file secure and not publicly accessible.define(...)
line before the comment /* That's all, stop editing! Happy publishing. */
.Become part of our growing family of +600,000 users and get the tools you need to make smart choices for your website. Simple, powerful insights are just a click away.