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_custom_breadcrumbsvarUsed to override the default breadcrumbs, must return a variable/function.
wpex_custom_breadcrumbsvarUsed to return a custom breadcrumbs output or shortcode.
wpex_custom_social_sharestringUsed to return a custom social share shortcode or HTML.
wpex_custom_widgetsarrayArray of custom widgets added by the theme. Should be used only to remove widgets you don't want.
wpex_customizer_panelsarrayArray of panels added to the Customizer.
wpex_customizer_sectionsarrayReturns an array of all the Customizer sections.
wpex_dashboard_thumbnailsboolUsed to enable/disable the thumbnail display in the WP dashboard.
wpex_dashicons_arrayarrayReturns an array of Dashicons for use with settings where you can select a dashboard icon such as the Portfolio, Staff and Testimonials settings screen.
wpex_edit_visual_composerboolCheck to see if the Total theme should make edits to the WPBakery plugin. Default is true.
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.
Back To Top