Skip to main content

Mega Menu — hooks

8 hooks — 0 actions · 8 filters.

HookTypeSummary
fw_ext_mega_menu_containerfilterFilters the mega menu row container tag and attributes before the dropdown wrapper is rendered.
fw_ext_mega_menu_start_lvl_classesfilterFilters the CSS classes applied to a mega menu sub-menu wrapper at start_lvl, given element and depth context.
fw:ext:megamenu:enqueue-frontend-cssfilterFilters whether the mega menu's baseline front-end CSS/JS and behavior config are enqueued (opt-out point).
fw:ext:megamenu:enqueue-icon-cssfilterFilters whether the mega menu enqueues its icon-font CSS on the front end.
fw:ext:megamenu:frontend-configfilterFilters the mega menu front-end behavior config localized to script, e.g. whether submenus open on hover or click.
fw:ext:megamenu:icon-optionfilterFilters the option-type descriptor used for the mega menu's icon picker, shared by admin and front-end.
fw:ext:megamenu:label:item-options-btnfilterFilters the label of the mega-menu item settings button shown in the admin menu editor.
fw:ext:megamenu:start_el_item_content:disablefilterFilters whether to skip the mega-menu walker's custom start-element rendering for a given menu item.

fw_ext_mega_menu_container

🧪 filter

Filters the mega menu row container tag and attributes before the dropdown wrapper is rendered.

add_filter( 'fw_ext_mega_menu_container', $callback );

Fired in: framework/extensions/megamenu/includes/class-fw-ext-mega-menu-walker.php:173

fw_ext_mega_menu_start_lvl_classes

🧪 filter

Filters the CSS classes applied to a mega menu sub-menu wrapper at start_lvl, given element and depth context.

add_filter( 'fw_ext_mega_menu_start_lvl_classes', $callback );

Fired in: framework/extensions/megamenu/includes/class-fw-ext-mega-menu-walker.php:202

fw:ext:megamenu:enqueue-frontend-css

🧪 filter

Filters whether the mega menu's baseline front-end CSS/JS and behavior config are enqueued (opt-out point).

add_filter( 'fw:ext:megamenu:enqueue-frontend-css', $callback );

Fired in: framework/extensions/megamenu/static.php:42

fw:ext:megamenu:enqueue-icon-css

🧪 filter

Filters whether the mega menu enqueues its icon-font CSS on the front end.

add_filter( 'fw:ext:megamenu:enqueue-icon-css', $callback );

Fired in: framework/extensions/megamenu/static.php:15

fw:ext:megamenu:frontend-config

🧪 filter

Filters the mega menu front-end behavior config localized to script, e.g. whether submenus open on hover or click.

add_filter( 'fw:ext:megamenu:frontend-config', $callback );

Fired in: framework/extensions/megamenu/static.php:64

fw:ext:megamenu:icon-option

🧪 filter

Filters the option-type descriptor used for the mega menu's icon picker, shared by admin and front-end.

add_filter( 'fw:ext:megamenu:icon-option', $callback );

Fired in: framework/extensions/megamenu/class-fw-extension-megamenu.php:39

fw:ext:megamenu:label:item-options-btn

🧪 filter

Filters the label of the mega-menu item settings button shown in the admin menu editor.

add_filter( 'fw:ext:megamenu:label:item-options-btn', $callback );

Fired in: framework/extensions/megamenu/class-fw-extension-megamenu.php:104

fw:ext:megamenu:start_el_item_content:disable

🧪 filter

Filters whether to skip the mega-menu walker's custom start-element rendering for a given menu item.

add_filter( 'fw:ext:megamenu:start_el_item_content:disable', $callback );

Fired in: framework/extensions/megamenu/hooks.php:134

← Back to Hooks overview