| @@ -637,12 +637,8 @@ | ||
| 637 | 637 | public static function has_pro() { |
| 638 | 638 | return defined( 'ELEMENTOR_PRO_VERSION' ); |
| 639 | 639 | } |
| 640 | 640 | |
| 641 | - public static function is_license_active(): bool { | |
| 642 | - return class_exists( '\ElementorPro\License\API' ) && \ElementorPro\License\API::is_license_active(); | |
| 643 | - } | |
| 644 | - | |
| 645 | 641 | public static function is_pro_installed_and_not_active(): bool { |
| 646 | 642 | if ( ! function_exists( 'get_plugins' ) ) { |
| 647 | 643 | require_once ABSPATH . 'wp-admin/includes/plugin.php'; |
| 648 | 644 | } |