16.gif

Search (advanced search)
Use this Search form before posting, asking or make a new thread.
Tips: Use Quotation mark to search words (eg. "How To Make Money Online")

01-09-2020, 03:57 AM
Post: #1
[Guide] How to unlock unlimited premium Wordfence Security license on any version
Download the official Wordfence security plugin from: https://en-ca.wordpress.org/plugins/wordfence/
Upload the plugin to your wordpress but don't activate it
Next, in your wordpress main dashboard head to Plugins -> Plugin Editor
In the "Select plugin to edit" bar choose Wordfence Security and press Select
Under the "lib file section" select the wordfenceClass.php file
Press ctrl+f and paste this:
if (!WFWAF_SUBDIRECTORY_INSTALL and& $waf = wfWAF::getInstance()) {

You should see:

$updateCountries = false;
if (!WFWAF_SUBDIRECTORY_INSTALL and& $waf = wfWAF::getInstance()) {
$homeurl = wfUtils::wpHomeURL();
$siteurl = wfUtils::wpSiteURL();


Now right under it paste this in:

wfConfig::set('isPaid', 1);
wfConfig::set('keyType', wfAPI::KEY_TYPE_PAID_CURRENT);
wfConfig::set('premiumNextRenew', time()+31536000);

So the code should look like this:

$updateCountries = false;
if (!WFWAF_SUBDIRECTORY_INSTALL and& $waf = wfWAF::getInstance()) {
$homeurl = wfUtils::wpHomeURL();
$siteurl = wfUtils::wpSiteURL();

wfConfig::set('isPaid', 1);
wfConfig::set('keyType', wfAPI::KEY_TYPE_PAID_CURRENT);
wfConfig::set('premiumNextRenew', time()+31536000);

7. Save the file, then activate WordFence plugin, you should have unlimited premium license! It says "renew in 365 days" but you will notice that this number doesn't go down

If you can't find the code, you can export the file, edit using notepad++ and then reupload or do something similar. You can also use FTP application to do this method.
01-09-2020, 10:29 PM
Post: #2
RE: [Guide] How to unlock unlimited premium Wordfence Security license on any version
It worked , thank you +5 Rep
01-09-2020, 11:04 PM
Post: #3
RE: [Guide] How to unlock unlimited premium Wordfence Security license on any version
Max repped. Thanks
[Image: 10.gif]▂ ▇ █ A master designer behind my avatar and professional business logos? High quality, unbeatable price! █ ▇ ▂
Check it out : http://bestblackhatforum.com/Thread-Amaz...ting-at-10
01-09-2020, 11:19 PM
Post: #4
RE: [Guide] How to unlock unlimited premium Wordfence Security license on any version
Worked for me too
01-10-2020, 12:44 AM (This post was last modified: 01-10-2020 12:44 AM by kirstie.)
Post: #5
RE: [Guide] How to unlock unlimited premium Wordfence Security license on any version
Thanks Bungle11 - repped :)
42.gif
01-10-2020, 01:01 AM
Post: #6
RE: [Guide] How to unlock unlimited premium Wordfence Security license on any version
Tested and working,5+++
thanks Cool
01-10-2020, 04:14 AM
Post: #7
RE: [Guide] How to unlock unlimited premium Wordfence Security license on any version
It's surely helpful!
01-10-2020, 04:27 AM
Post: #8
RE: [Guide] How to unlock unlimited premium Wordfence Security license on any version
Thank you! reps+
01-10-2020, 04:37 PM
Post: #9
RE: [Guide] How to unlock unlimited premium Wordfence Security license on any version
superb great. Thanks for sharing
“If we have no peace, it is because we have forgotten that we belong to each other.”
― Mother Teresa
01-10-2020, 07:18 PM
Post: #10
RE: [Guide] How to unlock unlimited premium Wordfence Security license on any version
I dont use wordfence any longer but nice share
76.gif




8.gif