Hooks: Top bar

← Back to all hooks
Hook Return Usage
wpex_top_bar_content string

Filters the top bar content which is defined by default in the customizer.

wpex_has_topbar bool

Check’s whether the Topbar should display or not.

wpex_top_bar_style string

Returns the topbar “style” (one, two, three). Default is one.

wpex_topbar_split_breakpoint string

The breakpoint at which point the topbar should switch from a left/right layout to a top/bottom layout (sm, md, lg, xl). Default is md.

wpex_topbar_wrap_class array

Array of classes to be added to the top bar main wrapper.

wpex_topbar_class array

Array of classes to be added to the inner top bar element.

wpex_topbar_social_class array

Array of classes to be added to the top bar element holding the social profile links.

wpex_topbar_social_alt_content string

Returns the alternative content to display instead of the social links in the Top Bar.

wpex_topbar_social_style string

Returns the style name to be used for the Top Bar social profile link icons. Default is “flat-color-rounded”.

wpex_topbar_social_link_attrs array

Returns and array of attributes to be added to the Top Bar social profile links.

wpex_topbar_social_links_output string

HTML output for the Top Bar social links.

wpex_topbar_social_options array

Returns array of social options for use with the Top Bar social.