Eileen
New member
- Joined
- May 29, 2024
- Messages
- 3
- Points
- 1
Hey guys!
I love to contribute to MMO 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.
I love to contribute to MMO 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.