How to activate Rehub theme

In the file admin/rehub.php comment out lines 241 to 246 like this:

//$raw_response = wp_remote_get(‘https://api.envato.com/v3/market/author/sale?code=’ . $tf_purchase_code, $prepare_request ); 
//if ( ! is_wp_error( $raw_response ) ) {
// $response = wp_remote_retrieve_body( $raw_response );
// $response = json_decode( $response, true ); //}

And below add this:

$response = array();  
$response['buyer'] =  
$tf_username; $response['supported_until'] = date('Y-m-d',strtotime(date("Y-m-d", mktime()) . " + 365 day")); 

(or just replace the old code with the new code).

Then use any name and key to activate the theme and the bonus plugins and demo content will be available.

Tested and all working.

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
11 Days 2 Hours 59 Minutes 18 Seconds
HURRY UP!