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'=>'null@null.com');
} 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

6 Month Membership $149.99 $29.99
Yearly Membership $244.99 $54.99
47 Days 5 Hours 50 Minutes 11 Seconds
JOIN NOW