How to activate premium Proteus Themes

In the file vendor/proteusthemes/theme-registration-and-updates/src/ThemeRegistration.php find the function get_response which starts around line 722. After line 724 which is:

$purchase_code = empty( $purchase_code ) ? self::get_purchase_code() : $purchase_code;

Add this:

if($action == 'purchase-code-activation'){ 
return array('code'=>200,'status'=>'activated','purchase_code'=>$purchase_code,'purchase_code_type'=>
'xx','message'=>'Your theme is activated!','expires'=>'12-12-2048','email'=>'[email protected]');
} else { return array('code'=>200,'status'=>'deactivated','message'=>'Theme deactivated'); }

Now find the function recheck_license_expiration in the same file and add this at the start of the function code:

 return;

Now in the file vendor/proteusthemes/theme-registration-and-updates/src/ThemeUpdates.php find the function check_for_update and add this to the start of the function code:

 return;

You can use any key and email to activate the theme

Leave a Reply

This site uses cookies to offer you a better browsing experience. By browsing this website, you agree to our use of cookies.
MONTHLY MEMBERSHIP $29.99 $9.99
5 YEARS MEMBERSHIP $499.99 $109.99
15 Days 18 Hours 44 Minutes 10 Seconds
HURRY UP!