| Server IP : _ / Your IP : 169.254.129.1 Web Server : nginx/1.28.0 System : Linux 89e302d72aa1 6.6.143.1-1.azl3 #1 SMP PREEMPT_DYNAMIC Mon Jul 6 04:01:14 UTC 2026 x86_64 User : nginx ( 103) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/wordpress/wp-content/plugins/quadmenu/includes/ |
Upload File : |
<?php
if (!defined('ABSPATH')) {
die('-1');
}
if (!function_exists('is_quadmenu')) {
function is_quadmenu($menu_id = false) {
return QuadMenu::instance()->is_quadmenu($menu_id);
}
}
if (!function_exists('quadmenu_get_menu_theme')) {
function quadmenu_get_menu_theme($location = null, $menu_id = null) {
global $quadmenu_themes, $quadmenu_active_locations;
$theme = '';
if (isset($quadmenu_active_locations[$location])) {
$theme = $quadmenu_active_locations[$location];
}
if ($theme && isset($quadmenu_themes[$theme])) {
return $theme;
}
if (is_array($quadmenu_themes)) {
return current(array_keys($quadmenu_themes));
}
return 'default_theme';
}
}
// Developers
// -----------------------------------------------------------------------------
if (!function_exists('quadmenu_compiler_enqueue')) {
function quadmenu_compiler_enqueue() {
$screen = get_current_screen();
if (isset($screen->base) && !strpos($screen->base, QUADMENU_PANEL) === false)
return;
QuadMenu_Compiler::instance()->enqueue();
}
}
if (!function_exists('quadmenu_compiler_integration')) {
function quadmenu_compiler_integration() {
add_action('admin_init', 'quadmenu_compiler_enqueue', 26);
}
}
if (!function_exists('quadmenu_do_compiler')) {
function quadmenu_do_compiler() {
QuadMenu_Compiler::instance()->do_compiler(true);
}
}
if (!function_exists('quadmenu_compiler_variables')) {
function quadmenu_compiler_variables() {
return QuadMenu_Compiler::instance()->redux_compiler();
}
}