| @@ -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 | } |
| @@ -837,14 +833,8 @@ | ||
| 837 | 833 | } |
| 838 | 834 | } |
| 839 | 835 | |
| 840 | 836 | echo wp_kses( $text, $allowed_html ); |
| 841 | - } | |
| 842 | - | |
| 843 | - public static function kses_post_deep( $data ) { | |
| 844 | - return map_deep( $data, function ( $value ) { | |
| 845 | - return is_string( $value ) ? wp_kses_post( $value ) : $value; | |
| 846 | - } ); | |
| 847 | 837 | } |
| 848 | 838 | |
| 849 | 839 | public static function is_elementor_path( $path ) { |
| 850 | 840 | $path = wp_normalize_path( $path ); |