Mega_Menu
Class Mega_Menu.
Source
File: includes/modules/header_footer_grid/mega_menu/mega_menu.php
Expand full source code Collapse full source code View on Github
Methods
- __construct — Mega_Menu Constructor
- add_app_mount — Add main application mount point.
- add_icons — Show the menu item.
- add_menu_inline_styles — Add item styles.
- add_options_mount_point — Add options mount point.
- custom_backend_walker — Loads custom backend menu edit walker.
- enqueue_frontend — Enqueue frontend styles.
- filter_content — Filter the inner content of the menu items.
- filter_menu_item_classes — Add item classes.
- get_individual_custom_layouts — Get custom layouts.
- get_localization — Gets Localization for backend script.
- get_mega_menu_parent_data — Get items that have mega-menu enabled
- get_menu_item_data — Get the menu item options.
- get_menu_item_settings — Get the menu item settings by id.
- is_active — Check if current module is active.
- is_nav_admin_screen — Checks if we're on the nav-menus admin screen.
- load_backend_app — Load backend scripts and styles
- register_rest_routes — Register Rest Routes.
- save_menu_icons — Save menu item's icon.
- update_menu_item_data — Fetch the menu item options.