PluginProbe
Elementor Website Builder – more than just a page builder / 3.35.9
Elementor Website Builder – more than just a page builder v3.35.9
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 +1 -4 4.0.83.35.9 View file →
@@ -5,9 +5,8 @@
5 5 use Elementor\Core\Base\Module as BaseModule;
6 6 use Elementor\Core\Experiments\Manager as ExperimentsManager;
7 7 use Elementor\Modules\AtomicWidgets\Module as AtomicWidgetsModule;
8 8 use Elementor\Modules\Variables\Classes\Variable_Types_Registry;
9 -use Elementor\Modules\Variables\ImportExportCustomization\Import_Export_Customization;
10 9 use Elementor\Modules\Variables\PropTypes\Color_Variable_Prop_Type;
11 10 use Elementor\Modules\Variables\PropTypes\Font_Variable_Prop_Type;
12 11 use Elementor\Modules\Variables\PropTypes\Size_Variable_Prop_Type;
13 12 use Elementor\Plugin;
@@ -13,9 +12,9 @@
13 12 use Elementor\Plugin;
14 13 use Elementor\Utils;
15 14
16 15 if ( ! defined( 'ABSPATH' ) ) {
17 - exit;
16 + exit; // Exit if accessed directly.
18 17 }
19 18
20 19 class Module extends BaseModule {
21 20 const MODULE_NAME = 'e-variables';
@@ -51,10 +50,8 @@
51 50 }
52 51 $this->register_features();
53 52
54 53 $this->hooks()->register();
55 -
56 - ( new Import_Export_Customization() )->register_hooks();
57 54
58 55 add_action( 'init', [ $this, 'init_variable_types_registry' ] );
59 56 add_action( 'elementor/editor/before_enqueue_scripts', fn () => $this->enqueue_editor_scripts() );
60 57 }