Filters: Header Menu
| Name | Description |
|---|---|
| wpex_header_menu_search_position | (string) |Returns the correct position for the header menu search icon link. Accepts start or end. Default is "end". |
| totaltheme/header/menu/search/icon_label | (string) |Returns the text added to the header menu search link toggle. This text is hidden by default as it's primarily used for screen readers. |
| wpex_add_search_toggle_ubermenu_classes | (bool) |Check if the theme should add the UberMenu specific classes to the header menu search toggle link when UberMenu is enabled. |
| wpex_menu_search_icon_theme_locations | (array) |Returns an array of menus that support the header search icon functionality. Default is "main_menu". |
| totaltheme/header/menu/search/placeholder | (string) |Returns the placeholder text to be used for the header menu search form. |
| totaltheme/header/menu/search/form | (string) |Returns the search form to be used for the header. Default is get_search_form() or get_product_search_form(). |
| totaltheme/header/menu/search/style | (string) |Returns the menu search style. Accepts disabled, drop_down, overlay or header_replace. |
| totaltheme/header/menu/search/is_supported | (bool) |Checks if the menu search functionality can be enabled for the header. Note: if the search style is set to disabled this filter will not override. |
| totaltheme/header/menu/wp_menu | (varied) |Returns the ID of a custom menu to be used for the header menu. Accepts a menu ID, slug, name, or object. |
| wpex_header_menu_ul_classes | (array) |Returns array of classnames to be used for the .main-navigation-ul element. |