PluginProbe
Elementor Website Builder – more than just a page builder / 4.2.2
Elementor Website Builder – more than just a page builder v4.2.2
4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
← All changes | includes/utils.php +10 -0 4.1.24.2.2 View file →
@@ -637,8 +637,12 @@
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 +
641 645 public static function is_pro_installed_and_not_active(): bool {
642 646 if ( ! function_exists( 'get_plugins' ) ) {
643 647 require_once ABSPATH . 'wp-admin/includes/plugin.php';
644 648 }
@@ -833,8 +837,14 @@
833 837 }
834 838 }
835 839
836 840 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 + } );
837 847 }
838 848
839 849 public static function is_elementor_path( $path ) {
840 850 $path = wp_normalize_path( $path );