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.
Name | Return | Usage |
---|---|---|
totaltheme/topbar/menu/class | array | Returns an array of classes to be added to the topbar menu ul element. |
totaltheme/replace_vars/vars | array | Returns the array of replacement vars. |
totaltheme/integration/yoast_seo/pagination_fix/is_enabled | bool | Check whether the theme should fix the Yoast SEO plugin issues related to paginated page canonicals and titles. |
wpex_customizer_sections | array | Returns an array of all the Customizer sections. |
wpex_woocommerce_cart_icon_choices | array | Returns an array of icon choices for the WooCommerce cart icon selector in the Customizer. |
wpex_card_builder_allowed_shortcodes_list | array | Returns an array of elements that are available for the Card builder when using WPBakery. |
vcex_custom_field_param_choices | array | Returns an array of options for the theme's custom field parameter which is used to select a custom field in various theme elements when using WPBakery. |
vcex_ajax_use_session_storage | bool | Check if the theme's AJAX functions should store results in the browser's Local Storage. |
wpex_woocommerce_product_entry_thumbnail_id | int | Returns the ID to use for the WooCommerce product entry image when displaying a singular thumbnail. |
wpex_woocommerce_add_to_cart_button_loader | string | Returns the html for the WooCommerce add to cart spinner/loader icon. |
wpex_post_cards_query_type_choices | array | Returns an array of choices for the Post Cards Query Type select. |
wpex_has_default_card_styles | bool | Check if the theme's default Card styles should display in the Card select. |
wpex_menu_cart_icon | string | Returns the icon name for the header menu cart icon. |
wpex_header_builder_page_id | int | Returns the template ID to use for the header. |
wpex_woocommerce_archive_template_id | int | Returns the template ID to use for the WooCommerce archive display. |
wpex_footer_bottom_inner_class | array | Returns an array of classes for the #footer-bottom element. |
vcex_elementor_integration | bool | Check if the theme's Elementor integration is enabled. |
vcex_navbar_get_terms_args | array | Returns the array of arguments for the Navigation Bar element (vcex_navbar shortcode) to pass to get_terms() when displaying a taxonomy term based menu. |
wpex_woocommerce_quantity_button_plus_icon | string | Returns the name of the icon to use for the WooCommerce product quantity field plus icon. |
wpex_woocommerce_quantity_button_minus_icon | string | Returns the name of the icon to use for the WooCommerce product quantity field minus icon. |
wpex_modern_menu_widget_link_icon | string | Returns the name for the icon to use for the Modern Menu widget icon. |
wpex_widget_nav_menu_open_submenu_icon | string | Returns the name of the icon to use for the navigation widget submenu toggle icon. |
wpex_mobile_menu_open_submenu_icon | string | Returns the name of the icon to use for the mobile menu submenu toggle icon. |
vcex_carousel_default_settings | array | Returns an array of default settings for theme carousels (OwlCarousel). |
wpex_slider_next_icon | string | Returns the theme slider next icon name (material/arrow-forward-ios) |
wpex_slider_prev_icon | string | Returns the theme slider previous icon name (material/arrow-back-ios) |
wpex_is_page_animations_enabled | bool | Check if the page animations functionality is enabled. |
wpex_page_animations_excluded_links | array | Returns an array of all elements that should be excluded from the Page Animations function whenever an excluded link is clicked the page out animation will not run. |
wpex_theme_icon_format | string | Returns the format to use for theme icons (font or svg) |
wpex_post_cards_entry_class | array | Returns an array of classes to add to the .wpex-post-cards-entry element. |