Below you will find a reference of filters available in the Total theme. Filters can be used to modify default theme options, values or output (learn more). You can use the search above to try and locate specific filters. This reference is intended to help you quickly locate a filter name. Once you locate a filter that you think may be useful you can then search the theme files for the filter to see how it’s being used to assist you in your custom code.
Important: This is a manually created list so there may be filters available not yet listed.
Filter by:
Name | Return | Usage |
---|---|---|
wpex_get_schema_markup | string | Returns correct schema markup for specific theme locations. |
wpex_get_sidebar_template | string | Returns correct template file name for your sidebar-NAME.php file |
wpex_get_site_layouts | array | Returns the array of site layout choices. |
wpex_get_staff_post_thumbnail_args | array | Used to alter the staff post thumbnail arguments. |
wpex_get_theme_heading_styles | array | Returns array of theme heading styles. |
wpex_get_tribe_event_date | var | Used to alter the default tribe events date for Total Visual Composer modules that display it. |
wpex_get_user_social_profile_settings_array | array | Returns array for user profile links. Used for author boxes. |
wpex_google_font_enqueue_italics | bool | Returns true/false if you want to load italic versions of the Google fonts on your site. |
wpex_google_font_enqueue_weights | array | Returns array of font-weights to be used for the enqueued Google fonts by the theme. |
wpex_google_fonts_array | array | Returns array of Google fonts used for the Customizer Typography sections. |
wpex_grid_columns | array | Returns an array of allowed grid columns used in various Customizer and builder element settings. |
wpex_hamburger_icon | string | Returns the output for the hamburger icon which is used by default for the mobile menu toggle but may display in other areas. |
wpex_has_breadcrumbs | bool | Return true to display breadcrumbs. |
wpex_has_default_card_styles | bool | Check if the theme's default Card styles should display in the Card select. |
wpex_has_header_menu_dropdown_caret | bool | Check if the header menu should display the dropdown arrow. |
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. |
wpex_has_next_prev | bool | Whether a post should display the next/previous links. |
wpex_has_page_header | bool | Checks whether the current post has a page header or not. |
wpex_has_social_share | bool | Whether the social sharing should display or not. |
wpex_has_sticky_header_menu | bool | Check if the header has a sticky menu. By default returns true for header styles two, three and four. |
wpex_header_builder_page_id | int | Returns the template ID to use for the header. |
wpex_header_logo_link_attrs | array | Returns an array of attributes for the header logo link. |
wpex_header_menu_classes | array | Returns array of classnames to be used for the #site-navigation element. |
wpex_header_menu_down_arrow_html | string | Returns the html used for the header menu drodown arrow html. |
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_mobile_toggle_icons | string | Returns 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_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_menu_side_arrow_html | string | Returns the html used for the header menu child items side arrow. |
wpex_header_menu_ul_classes | array | Returns array of classnames to be used for the .main-navigation-ul element. |
wpex_header_menu_wrap_classes | array | Returns array of classnames to be used for the #site-navigation-wrap element. |