Name | Return | Usage |
---|
wpex_menu_cart_icon | string | Returns the icon name for the header menu cart icon. |
wpex_has_header_menu_flush_dropdowns | bool | Check if the header menu should have "flush" dropdowns, in other words the header menu is the same height as the header. |
wpex_header_menu_side_arrow_html | string | Returns the html used for the header menu child items side arrow. |
wpex_header_menu_down_arrow_html | string | Returns the html used for the header menu drodown arrow html. |
wpex_has_header_menu_dropdown_caret | bool | Check if the header menu should display the dropdown arrow. |
wpex_get_header_drop_widget_class | array | Returns an array of classnames to be added to header menu dropdown "widgets" such as the dropdown search and WooCommerce cart dropdown elements. |
wpex_header_menu_dropdown_style | string | Returns the dropdown style to be used for the header menu dropdowns which get's added to the #site-header element in the format "wpex-dropdown-style-{style_name}". |
wpex_header_menu_search_position | string | Returns the correct position for the header menu search icon link. Accepts start or end. Default is "end". |
wpex_header_search_text | 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. |