base, sanitize_title(QUADMENU_NAME)) === false && $screen->base != 'toplevel_page_quadmenu_welcome') return; wp_enqueue_style('quadmenu-admin'); wp_enqueue_script('quadmenu-admin'); wp_localize_script('quadmenu-admin', 'quadmenu', apply_filters('quadmenu_global_js_data', array())); } function js_data($data) { $data['nonce'] = wp_create_nonce('quadmenu'); return $data; } function panel() { add_menu_page(QUADMENU_NAME, QUADMENU_NAME, 'edit_posts', 'quadmenu_welcome', array($this, 'welcome'), QUADMENU_URL_ASSETS . 'backend/images/icon.png', 60); add_submenu_page('quadmenu_welcome', esc_html__('Welcome', 'quadmenu'), esc_html__('Welcome', 'quadmenu'), 'edit_posts', 'quadmenu_welcome', array($this, 'welcome')); } function pro() { add_submenu_page('quadmenu_welcome', __('Premium', 'quadmenu'), sprintf(' %s', __('Premium', 'quadmenu')), 'edit_posts', 'quadmenu_pro', array($this, 'purchase')); } function menus() { add_submenu_page('quadmenu_welcome', esc_html__('Menus', 'quadmenu'), esc_html__('Menus', 'quadmenu'), 'manage_options', 'nav-menus.php'); } static function body($classes) { $screen = get_current_screen(); //if (strpos($screen->base, sanitize_title(QUADMENU_NAME)) === false && $screen->base != 'toplevel_page_quadmenu_welcome') //return $classes; $classes .= ' admin-color-quadmenu'; return $classes; } function welcome() { $this->header(); ?>

v


Options panel and activate the plugin in your theme locations.', 'quadmenu'), QuadMenu::taburl(0)); ?>


QuadMenu PRO users. To get support first you need to create an account and open a ticket in your account.', 'quadmenu'), QUADMENU_DEMO); ?>

header(); ?>

%s', __('Premium', 'quadmenu')); ?>



create a tab mega menu where you can include widgets or any kind of content available in your menu dashboard.', 'quadmenu'), 'https://quadmenu.com/documentation/content/tabs/?utm_source=quadmenu_admin'); ?>


carousel mega menu where you can include widgets or any kind of content available in your menu dashboard.', 'quadmenu'), 'https://quadmenu.com/documentation/content/carousel/?utm_source=quadmenu_admin'); ?>

categories and archives items and lets you create a carousel of the latest\'s post, products, pages and any post type available in your site.', 'quadmenu'), 'https://quadmenu.com/documentation/content/archives/?utm_source=quadmenu_admin'); ?>


login and register form that is displayed in a drop-down. Recently we\'ve improved this feature to include a drop-down menu for logged in users where you can display any link and a quick access to the user account.', 'quadmenu'), 'https://quadmenu.com/documentation/content/login/?utm_source=quadmenu_admin'); ?>



$section_statuses) { ?>
'; break; case 'yellow': echo '
'; break; case 'red' : echo '
'; break; case 'info': echo '
i
'; break; } ?>
array( 'href' => array(), 'title' => array() ), 'br' => array(), 'em' => array(), 'strong' => array(), 'span' => array(), )); ?>