Created
May 20, 2020 08:19
-
-
Save sermalefico/a7ab4c08bf3b4f7dc0eca4ddec180eed to your computer and use it in GitHub Desktop.
Fix Elementor Pro when go.elementor.com is down. (overrides license check)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Place this code in your functions.php file in your Child Theme. | |
* Use at your own risk. | |
*/ | |
add_filter('pre_transient_elementor_pro_license_data', function($pre_transient) { | |
$license_data = [ | |
'license' => 'valid', | |
'payment_id' => '1', | |
'license_limit' => '1', | |
'site_count' => '1', | |
'activations_left' => '0', | |
'expires' => 'lifetime' | |
]; | |
return $license_data; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment