| @@ -29,9 +29,8 @@ | ||
| 29 | 29 | 'a', |
| 30 | 30 | 'article', |
| 31 | 31 | 'aside', |
| 32 | 32 | 'button', |
| 33 | - 'form', | |
| 34 | 33 | 'div', |
| 35 | 34 | 'footer', |
| 36 | 35 | 'h1', |
| 37 | 36 | 'h2', |
| @@ -635,23 +634,8 @@ | ||
| 635 | 634 | } |
| 636 | 635 | |
| 637 | 636 | public static function has_pro() { |
| 638 | 637 | return defined( 'ELEMENTOR_PRO_VERSION' ); |
| 639 | - } | |
| 640 | - | |
| 641 | - public static function is_pro_installed_and_not_active(): bool { | |
| 642 | - if ( ! function_exists( 'get_plugins' ) ) { | |
| 643 | - require_once ABSPATH . 'wp-admin/includes/plugin.php'; | |
| 644 | - } | |
| 645 | - | |
| 646 | - $file_path = self::get_elementor_pro_file_path(); | |
| 647 | - $installed_plugins = get_plugins(); | |
| 648 | - | |
| 649 | - return isset( $installed_plugins[ $file_path ] ); | |
| 650 | - } | |
| 651 | - | |
| 652 | - private static function get_elementor_pro_file_path(): string { | |
| 653 | - return 'elementor-pro/elementor-pro.php'; | |
| 654 | 638 | } |
| 655 | 639 | |
| 656 | 640 | /** |
| 657 | 641 | * Convert HTMLEntities to UTF-8 characters |