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_header_search_stylestringFilters the header style. Default is "one".
wpex_header_stylesarrayReturns array of header style choices.
wpex_image_filtersarrayReturns an array of image filter choices for use with various shortcode settings ( grayscale, sepia, contrast-150, saturate-2).
wpex_image_heightintegerCan be used to alter the height for any featured image either on the single post or archive.
wpex_image_hoversarrayReturns an array of image hover choices, used in various shortcodes ( opacity, shrink, grow, side-pan, tilt, blurr, sepia, fade-out, fade-in, grayscale...etc).
wpex_image_resize_retinaboolWhether retina resizing should be enabled or not.
wpex_image_sizesarrayArray of image sizes defined by the theme that are used to create the Image Sizes dashboard and register them with WP.
wpex_image_widthintegerCan be used to alter the width for any featured image either on the single post or archive.
wpex_is_page_animations_enabledboolCheck if the page animations functionality is enabled.
wpex_login_logo_linkstringAlters the link on the logo for the WordPress login page.
wpex_logo_urlstringReturns the URL to add to the link surrounding your header logo
wpex_main_layoutstringUsed to alter the main site layout. Return values should be "boxed" or "full-width".
wpex_main_metaboxes_post_typesarrayUsed to filter the post types to which the "Page Settings" metabox should be added to.
wpex_mce_font_formats_arrayarrayAdds font options to the TinyMCE editor.
wpex_menu_cart_iconstringReturns the icon name for the header menu cart icon.
wpex_menu_cart_icon_htmlstringCan be used to alter the HTML for the default cart icon in the main menu.
wpex_menu_search_icon_theme_locationsarrayReturns an array of menus that support the header search icon functionality. Default is "main_menu".
wpex_meta_argsarrayReturns an array of arguments for the post meta.
wpex_meta_block_iconstringFilters the icon name for the icon displayed on a given meta block.
wpex_meta_sections$arrayReturns the array of meta sections to display (date, author, categories, comments).
wpex_meta_viewporthtmlReturns the meta viewport tag to be added to the wp_head.
wpex_mobile_menu_open_button_textstringReturns the text or HTML to display for the mobile menu toggle button. Default is '<span class="fa fa-bars"></span>'.
wpex_mobile_menu_open_button_textstringReturns the "text" to be used for the mobile menu hamburger icon. By default it returns the hamburger icon only.
wpex_mobile_menu_open_submenu_iconstringReturns the name of the icon to use for the mobile menu submenu toggle icon.
wpex_mobile_menu_toggle_classarrayReturns array of classnames for the header menu mobile menu toggle element.
wpex_mobile_menu_toggle_iconstringReturns the HTML to be used for the mobile menu hamburger toggle icon. By default this includes the link, screen reader text and icon.
wpex_mobile_menu_toggle_stylestringReturns the name of the mobile menu toggle style to be used. Accepts icon_buttons, icon_buttons_under_logo, navbar, fixed_top, custom.
wpex_mobile_searchform_placeholderstringThe placeholder text for the mobile menu searchform.
wpex_modern_menu_widget_link_iconstringReturns the name for the icon to use for the Modern Menu widget icon.
wpex_newsletter_widget_action_urlstringReturns the url for the Newsletter widget form action attribute.
Back To Top