Hook: wpex_has_header_menu_mobile
bool

← Back to all hooks

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”.