| Server IP : 31.214.179.12 / Your IP : 216.73.216.141 Web Server : Apache System : Linux hostingsrv123.dondominio.com 6.12.118+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.118-1 (2026-11-20) x86_64 User : ( 801593) PHP Version : 8.5.13 Disable Function : system,passthru,popen,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,exec,ini_alter,show_source,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,mail,eval MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /hosting/www/tarifatuna.com/public/wp-content/plugins/elementor-pro/modules/mega-menu/ |
Upload File : |
<?php
namespace ElementorPro\Modules\MegaMenu;
use Elementor\Core\Experiments\Manager;
use ElementorPro\Base\Module_Base;
use ElementorPro\Plugin;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
class Module extends Module_Base {
const EXPERIMENT_NAME = 'mega-menu';
public function get_widgets() {
return [
'Mega_Menu',
];
}
public function get_name() {
return 'mega-menu';
}
public static function is_active() {
return Plugin::elementor()->experiments->is_feature_active( \Elementor\Modules\NestedElements\Module::EXPERIMENT_NAME );
}
/**
* Add to the experiments
*
* @return array
*/
public static function get_experimental_data() {
$experiment_data = [
'name' => static::EXPERIMENT_NAME,
'title' => esc_html__( 'Menu', 'elementor-pro' ),
'description' => sprintf(
esc_html__( 'Create beautiful menus and mega menus with new nested capabilities. Mega menus are ideal for websites with complex navigation structures and unique designs. %1$sLearn More%2$s', 'elementor-pro' ),
'<a href="https://go.elementor.com/wp-dash-mega-menu/" target="_blank">',
'</a>'
),
'hidden' => false,
'release_status' => Manager::RELEASE_STATUS_ALPHA,
'default' => Manager::STATE_INACTIVE,
'dependencies' => [
'container',
'nested-elements',
],
];
if ( version_compare( ELEMENTOR_VERSION, '3.11.0', '<' ) ) {
$experiment_data['mutable'] = false;
$experiment_data['dependencies'] = [];
}
return $experiment_data;
}
}