Update elementor pro
This commit is contained in:
@@ -6,6 +6,7 @@ use Elementor\Settings;
|
||||
use Elementor\Utils;
|
||||
use ElementorPro\Core\Utils as Pro_Utils;
|
||||
use ElementorPro\Core\Connect\Apps\Activate;
|
||||
use ElementorPro\License\Data\Controller;
|
||||
use ElementorPro\License\Notices\Trial_Expired_Notice;
|
||||
use ElementorPro\License\Notices\Trial_Period_Notice;
|
||||
use ElementorPro\Plugin;
|
||||
@@ -28,6 +29,10 @@ class Admin {
|
||||
*/
|
||||
public static $updater = null;
|
||||
|
||||
public function __construct() {
|
||||
$this->register_rest_controller();
|
||||
}
|
||||
|
||||
public static function get_errors_details() {
|
||||
$license_page_link = self::get_url();
|
||||
|
||||
@@ -788,4 +793,8 @@ class Admin {
|
||||
|
||||
return wp_verify_nonce( $nonce, 'opt_out' );
|
||||
}
|
||||
|
||||
private function register_rest_controller() {
|
||||
new Controller();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user