Avada Wordpress Theme Free Activation Tutorial

PIRATE

Administrator
Feb 27, 2019
3,745
398
83
India
Navigate to Avada/includes/lib/inc/class-fusion-envato-api.php

Find and comment out these two lines:

PHP:
// Check the response code.
//$response_code = wp_remote_retrieve_response_code( $response );
//$response_message = wp_remote_retrieve_response_message( $response );

Navigate to Avada/includes/lib/inc/class-fusion-product-registration.php
Find:

Code:
set_site_transient( 'fusion_envato_api_down', true, 600 );

Change 600 to 0


Find: Has user associated with current token purchased this product?
# Set "return false;" to "true":


PHP:
public function is_registered() {

// Is the product registered?
if ( isset( $this->registered[ $this->product_id ] ) && true === $this->registered[ $this->product_id ] ) {
return true;
}
// Is the Envato API down?
if ( get_site_transient( 'fusion_envato_api_down' ) ) {
return true;
}
// Fallback to false.
return false;  //Change true here

}
 
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock