How to activate AutomateWoo plugin

The line number may be slightly different – they will change when you make the code changes below.

In the file automatewoo/includes/licenses.php Find the function check_for_domain_mismatch which is around line 171 and add as the first line of the function code:

 return;

Now find the function maybe_check_status which starts around line 196 and add as the first line of the function code:

 return;

Now find the function remote_activate around line 309 and add this to the start of the function code:

 self::update( $product_id, $license_key, '12/12/2040' ); return 'Activated!';

(you can change that date to whatever you want to show as license expiry date.)

Finally, find the function remote_deactivate which starts around line 339 and add this to the start of the function code:

self::remove( $product_id ); 
return;

Now you can use any key to activate the plugin and can also deactivate it without it contacting home.

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply