| @@ -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 | } |