How to Null and Activate Premium WordPress Themes and Plugins [Valuable info]

Festinger

Jr. VIP
Jr. VIP
Marketplace seller
Joined
Feb 27, 2014
Messages
13,787
Reaction score
18,404
Website
festingervault.com
Hey guys!

I love to contribute to BHW and I would like to share some handy lines of code to make it more easier to activate premium WordPress themes and plugins. To start with, I'd like to share how to null Yoast Premium plugins:

How to Activate Yoast Premium plugins:

Step 1:


Find the following file using a FTP client, such as FileZilla:

wordpress-seo-premium/vendor/yoast/license-manager/class-license-manager.php,

Step 2:

Find the function get_license_status() at line 327:

Code:
public function get_license_status() {
$license_status = $this->get_option( 'status' );
return trim( $license_status );
}

Step 3:

In line 330, change:

Code:
return trim( $license_status );

to:

Code:
return 'valid';

Et voilà: your Yoast Premium plugins will work. :)

More plugins and themes will follow soon.

Stay tuned.
 
Last edited by a moderator:

ProVro

Newbie
Joined
Mar 24, 2019
Messages
9
Reaction score
0
Good shares.
Not tried it yet, because i used plugins yoast with license installment already.
Are this still will works after yoast updates?
 

Festinger

Jr. VIP
Jr. VIP
Marketplace seller
Joined
Feb 27, 2014
Messages
13,787
Reaction score
18,404
Website
festingervault.com
Thank you for this. What if they have if statements? Or is this pretty universal?

It's pretty universal and should work for all Yoast plugins.

Doctor make for visual composer a tutorial please. Thank you in advance!

Professor, Visual Composer is a bitch, a real bitch. She is not working without direct connection. :(

Dear sir @Festinger can you please null WP-SCRIPT products ..??
It'll be really very helpful.
Thanks in advance.

Unfortunately, I do not have access to WP Script products, so I am unable to investigate this. ;)
 

kayo

Newbie
Joined
Mar 25, 2019
Messages
16
Reaction score
0
Thanks for sharing this. Definitely will make use of it.
 

Festinger

Jr. VIP
Jr. VIP
Marketplace seller
Joined
Feb 27, 2014
Messages
13,787
Reaction score
18,404
Website
festingervault.com
How to Activate the Rehub theme:

Step 1:

Find the following file using a FTP client:

admin/rehub.php

Step 2:

Search and select the following code lines 241 to 246:

Code:
$raw_response = wp_remote_get( ‘https://api.envato.com/v3/market/author/sale?code=’ . $tf_purchase_code, $prepare_request );
if ( ! is_wp_error( $raw_response ) ) {
$response = wp_remote_retrieve_body( $raw_response );
$response = json_decode( $response, true );
}

Step 3:

Replace the code with the following code:

Code:
$response = array();
$response['buyer'] = $tf_username;
$response['supported_until'] = date('Y-m-d',strtotime(date("Y-m-d", mktime()) . " + 365 day"));

Step 4:

Use any license code you want and the theme is working 100%.

EXTRA BONUS: Demo content is working! :)
 

DuellBH

Junior Member
Joined
Dec 28, 2018
Messages
112
Reaction score
28
P.s. there will be soon a blog on my WordPress Vault website with 100+ tutorials how to null/activate themes and plugins.

Thanks.
Luckily I do not have to bookmark this post for reference since I bought a lifetime subscription.
 

silvalex

Newbie
Joined
Oct 2, 2011
Messages
38
Reaction score
27
Did this and Yoast plugin seems the same. Guessing I need to download additional yoast plugins?
 

summersalt

Junior Member
Joined
Jun 12, 2014
Messages
123
Reaction score
50
Hey bro, if you could give us/point us to a general tutorial or something close on what to look out for and how to go about nulling these scripts by ourselves.. that will make it easier for you and better for us all. Looking forward to hearing from you
 

Meseco

Newbie
Joined
Dec 12, 2018
Messages
38
Reaction score
9
Age
44
The Wp-Script Themes are not that easy, because they rely on the core plugin. All theme options are in there. While it is not that hard to run a theme without the core plugin, you will have to edit the Theme options directly in the database.
 

fb3003

Jr. VIP
Jr. VIP
Joined
Aug 14, 2015
Messages
4,881
Reaction score
3,362
Website
bit.ly
@Festinger once you null yoast and make it premium, can you continue to update it on regular basis and remain a premium user? or do you need to do the null exercise every time you update?
 
Top