Wordfence Security – Anti-virus, Firewall and Malware Scan
WordPress Pro and Free versions are same, Here is how to enable Pro features:
Install the Wordfence plugin from here and use the following code snippets in your themes functions.php file
add_action('plugins_loaded', function(){
if( !class_exists('wfConfig') ) return;
wfConfig::set('isPaid', 1);
wfConfig::set('success', 1);
wfConfig::set('keyType', wfLicense::KEY_TYPE_PAID_CURRENT);
wfConfig::set('licenseType', wfLicense::TYPE_RESPONSE);
wfConfig::set('premiumNextRenew', time()+31536000);
}, 99);
When you activate Wordfence it will ask for a license, join the free Wordfence plan and use the license code Wordfence sends to your email. That will activate all the premium features.
WordPress Pro and Free versions are same, Here is how to enable Pro features:
Install the Wordfence plugin from here and use the following code snippets in your themes functions.php file
add_action('plugins_loaded', function(){
if( !class_exists('wfConfig') ) return;
wfConfig::set('isPaid', 1);
wfConfig::set('success', 1);
wfConfig::set('keyType', wfLicense::KEY_TYPE_PAID_CURRENT);
wfConfig::set('licenseType', wfLicense::TYPE_RESPONSE);
wfConfig::set('premiumNextRenew', time()+31536000);
}, 99);
When you activate Wordfence it will ask for a license, join the free Wordfence plan and use the license code Wordfence sends to your email. That will activate all the premium features.