芝麻web文件管理V1.00
编辑当前文件:/home/freeclou/optimyar/wp-content/plugins/elementor-pro/modules/variables/module.php
self::EXPERIMENT_NAME, 'title' => esc_html__( 'Size Variables', 'elementor-pro' ), 'description' => esc_html__( 'Allows the use of size variables within supported controls. Note: This feature requires both the "Atomic Widgets" and "Variables" experiments to be enabled.', 'elementor-pro' ), 'hidden' => true, 'default' => ExperimentsManager::STATE_ACTIVE, 'release_status' => ExperimentsManager::RELEASE_STATUS_ALPHA, ]; } private function hooks() { return new Hooks(); } private function is_supported_by_license() { return API::is_licence_has_feature( 'size-variable', API::BC_VALIDATION_CALLBACK ); } public function __construct() { parent::__construct(); if ( ! $this->is_experiment_active() || ! $this->is_supported_by_license() ) { return; } $this->hooks()->register(); } private function is_experiment_active(): bool { return class_exists( 'Elementor\\Modules\\Variables\\Module' ) && Plugin::elementor()->experiments->is_feature_active( self::EXPERIMENT_NAME ) && Plugin::elementor()->experiments->is_feature_active( AtomicWidgetsModule::EXPERIMENT_NAME ) && Plugin::elementor()->experiments->is_feature_active( VariablesModule::EXPERIMENT_NAME ); } }