Skip to content
NameReturnUsage
totaltheme/mobile/menu/stylestringReturns the current mobile menu style. Options: sidr, full_screen or toggle.
wpex_mobile_menu_open_submenu_iconstringReturns the name of the icon to use for the mobile menu submenu toggle icon.
wpex_hamburger_iconstringReturns the output for the hamburger icon which is used by default for the mobile menu toggle but may display in other areas.
wpex_get_mobile_menu_stylesarrayReturns array of mobile menu style choices ( sidr, toggle, full_screen or disabled).
wpex_header_menu_mobile_toggle_iconsstringReturns the HTML to be added to the mobile menu toggle area next to the hamburger icons. By default it displays the Mobile menu icons menu.
wpex_mobile_menu_toggle_iconstringReturns the HTML to be used for the mobile menu hamburger toggle icon. By default this includes the link, screen reader text and icon.
wpex_mobile_menu_open_button_textstringReturns the "text" to be used for the mobile menu hamburger icon. By default it returns the hamburger icon only.
totaltheme/mobile/menu/sidr/sourcearrayReturns an array of element classnames or ID's to be appended to the Sidebar style mobile menu.
totaltheme/mobile/menu/breakpointintReturns a numerical value for the mobile menu breakpoint, which is the screen width at which the main header menu becomes hidden and the mobile menu toggle becomes visible.
wpex_mobile_menu_toggle_stylestringReturns the name of the mobile menu toggle style to be used. Accepts icon_buttons, icon_buttons_under_logo, navbar, fixed_top, custom.
Back To Top