Skip to content

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:

NameReturnUsage
wpex_excerpt_argsarrayFilters default arguments for the wpex_get_excerpt function
wpex_font_weightsarrayReturns an array of font weight choices for use with various theme shortcodes.
wpex_footer_builder_page_idintvalUsed to alter the footer builder page ID to conditionally display various footers using the "footer builder" function
wpex_gallery_metabox_post_typesarrayArray of post types that should have the "Gallery Metabox" in the admin.
wpex_get_accent_colorsarrayReturns array of accent color choices.
wpex_get_form_stylesarrayReturns array of theme form styles which is used in the Form Shortcode element.
wpex_get_header_drop_widget_classarrayReturns an array of classnames to be added to header menu dropdown "widgets" such as the dropdown search and WooCommerce cart dropdown elements.
wpex_get_header_menu_dropdown_stylesarrayReturns array of header menu dropdown style choices.
wpex_get_header_styles_with_sticky_supportarrayReturns array of header styles that support the sticky header functionality.
wpex_get_mobile_menu_stylesarrayReturns array of mobile menu style choices ( sidr, toggle, full_screen or disabled).
wpex_get_page_header_overlay_patternstringReturns the pattern style to be used for the page header overlay when set to the "Background Image" style (dotted or dashed). Default is "none".
wpex_get_portfolio_entry_thumbnail_argsboolUsed to alter the portfolio entry thumbnail arguments.
wpex_get_portfolio_post_thumbnail_argsarrayUsed to alter the portfolio post thumbnail arguments.
wpex_get_post_layoutsarrayReturns array of post layout options (right-sidebar, left-sidebar, full-width, full-screen) used for the Customizer and Theme Settings meta options.
wpex_get_schema_markupstringReturns correct schema markup for specific theme locations.
wpex_get_sidebar_templatestringReturns correct template file name for your sidebar-NAME.php file
wpex_get_site_layoutsarrayReturns the array of site layout choices.
wpex_get_staff_post_thumbnail_argsarrayUsed to alter the staff post thumbnail arguments.
wpex_get_theme_heading_stylesarrayReturns array of theme heading styles.
wpex_get_tribe_event_datevarUsed to alter the default tribe events date for Total Visual Composer modules that display it.
wpex_get_user_social_profile_settings_arrayarrayReturns array for user profile links. Used for author boxes.
wpex_google_font_enqueue_italicsboolReturns true/false if you want to load italic versions of the Google fonts on your site.
wpex_google_font_enqueue_weightsarrayReturns array of font-weights to be used for the enqueued Google fonts by the theme.
wpex_google_fonts_arrayarrayReturns array of Google fonts used for the Customizer Typography sections.
wpex_grid_columnsarrayReturns an array of allowed grid columns used in various Customizer and builder element settings.
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_has_breadcrumbsboolReturn true to display breadcrumbs.
wpex_has_default_card_stylesboolCheck if the theme's default Card styles should display in the Card select.
wpex_has_header_menu_dropdown_caretboolCheck if the header menu should display the dropdown arrow.
wpex_has_mobile_menu_altboolCheck if the mobile menu is using a custom menu for the mobile menu and it's not empty.
Back To Top