Add this to the theme (or child theme) functions.php file function activate_theme() { update_option(‘gt3_registration_status’, ‘active’); update_option(‘gt3_account_attached’, ‘true’); update_option(‘sdfgdsfgdfg’, ‘Product is activated!’); }add_action( ‘admin_init’, ‘activate_theme’ );
First off all you have to get the all demo packages, download them, and put the the whole directory in your theme directory: motors/packages. Then go to file /admin/includes/theme.php, at line 59, search for the code: function stm_check_auth() { Change it with function stm_check_auth(){ return true; Then go to line 92, search for this code: […]
Begin with the file inc/dashboard/inc/require-activation.php. Find the function do_check_envato_code which starts on line 185, add this to the start of the function code: update_option( ‘penci_pennews_is_activated’, 1 ); wp_send_json_success( array( ‘success’ => true ) ); Now you can use any key to activate the theme.
In the file flatsome/inc/functions/function-update.php, near the bottom of the file, find function wupdates_prevalidate_purchase_code_JQ9eJ ( $purchase_code ) Add this to the start of the function code: return true; Then in the function wupdates_process_purchase_code_JQ9eJ which starts around line 213 comment out lines 245-248 like this: // $raw_response = wp_remote_post( $url, $http_args ); // if ( $ssl && […]
In the file main.php find the function dashboard which is around line 2790 and add this to the start of the function code: return true;