Author Archives: wptools

How to activate Metamax theme

Here’s the activation which takes place in the files for the cws-demo-importer plugin. In the file importer.php, find the cws_imp_get_option which starts around line 38 and add this to the start of the function: if($name == ‘_theme_purchase_code’){return ‘abcd1234-ab12-cwst-13en-vatoelements’;} You should now be able to install the demo content (I just did so on a test […]

How to activate Hbook plugin

In the file hbook/utils/utils.php find the function verify_purchase_code which starts around line 28119 and add this to the start of the function code: update_option( ‘hb_purchase_code_error’, ” ); update_option( ‘hb_valid_purchase_code’, ‘yes’ ); update_option( ‘hb_purchase_code’, $new_purchase_code ); return; Now you can use any key to activate the plugin and access all the options and menus etc.

How to activate WP Content Crawler

In the file wp-content-crawler.php, add this code to the beginning of the plugin’s content (after name, version, developer…): namespace WPCCrawler; if(!class_exists(‘WPTSLMClient’)) { class WPTSLMClient { public function __construct($productName, $productId, $type, $apiUrl, $ pluginFilePath, $textDomain){} public function setUrlHowToFindLicenseKey($url){} public function isUserCool() {return true;} public function setIsProductPageCallback($callback){} } }