Filters: Mobile Menu
| Name | Description |
|---|---|
| wpex_mobile_menu_toggle_class | (array) |Returns array of classnames for the header menu mobile menu toggle element. |
| wpex_has_mobile_menu_alt | (bool) |Check if the mobile menu is using a custom menu for the mobile menu and it's not empty. |
| totaltheme/mobile/menu/is_enabled | (bool) |Check if the header menu has a mobile menu version. If you are using a custom header you could potentially set this filter to __return_true so that the theme inserts the mobile menu code onto the page and then you can make use of it via a custom toggle button with the classname "mobile-menu-toggle". |
| wpex_mobile_menu_open_button_text | (string) |Returns the text or HTML to display for the mobile menu toggle button. Default isΒ '<span class="fa fa-bars"></span>'. |