PluginProbe
Elementor Website Builder – more than just a page builder / 4.0.1
Elementor Website Builder – more than just a page builder v4.0.1
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 | modules/variables/module.php +0 -8 4.1.0-dev34.0.1 View file →
@@ -9,9 +9,8 @@
9 9 use Elementor\Modules\Variables\ImportExportCustomization\Import_Export_Customization;
10 10 use Elementor\Modules\Variables\PropTypes\Color_Variable_Prop_Type;
11 11 use Elementor\Modules\Variables\PropTypes\Font_Variable_Prop_Type;
12 12 use Elementor\Modules\Variables\PropTypes\Size_Variable_Prop_Type;
13 -use Elementor\Modules\Variables\Storage\Constants;
14 13 use Elementor\Plugin;
15 14 use Elementor\Utils;
16 15
17 16 if ( ! defined( 'ABSPATH' ) ) {
@@ -56,9 +55,8 @@
56 55
57 56 ( new Import_Export_Customization() )->register_hooks();
58 57
59 58 add_action( 'init', [ $this, 'init_variable_types_registry' ] );
60 - add_filter( 'elementor/kit/meta_to_preserve_on_kit_import', [ $this, 'add_meta_to_preserve_on_kit_import' ] );
61 59 add_action( 'elementor/editor/before_enqueue_scripts', fn () => $this->enqueue_editor_scripts() );
62 60 }
63 61
64 62 private function register_features() {
@@ -101,12 +99,6 @@
101 99 'elementor-common',
102 100 'window.ElementorVariablesQuotaConfig = ' . wp_json_encode( $this->get_quota_config() ) . ';',
103 101 'before'
104 102 );
105 - }
106 -
107 - public function add_meta_to_preserve_on_kit_import( array $meta_keys ): array {
108 - return array_merge( $meta_keys, [
109 - Constants::VARIABLES_META_KEY,
110 - ] );
111 103 }
112 104 }