Theme_Compat implements Registerable, Service
Theme-specific overrides for WooCommerce Private Store.
Tags
Interfaces, Classes and Traits
- Registerable
- Service
Table of Contents
- after_setup_theme() : mixed
- Hooks run on 'after_setup_theme'.
- body_class() : mixed
- clear_elementor_location_cache() : mixed
- Remove Elementor location cache set by Astra theme This method clears location cache of the Elementor plugin that set by Astra
- filter_sidebar_widgets() : array<string|int, mixed>
- Filter a sidebar's widgets when the store is locked.
- init() : mixed
- Hooks run on 'init'.
- register() : mixed
- storefront_hide_cart_in_handheld_footer_bar() : mixed
- theme_function_overrides() : mixed
Methods
after_setup_theme()
Hooks run on 'after_setup_theme'.
public
after_setup_theme() : mixed
Return values
mixed —body_class()
public
body_class(mixed $classes) : mixed
Parameters
- $classes : mixed
Return values
mixed —clear_elementor_location_cache()
Remove Elementor location cache set by Astra theme This method clears location cache of the Elementor plugin that set by Astra
public
clear_elementor_location_cache() : mixed
Return values
mixed —filter_sidebar_widgets()
Filter a sidebar's widgets when the store is locked.
public
filter_sidebar_widgets( $widgets) : array<string|int, mixed>
Parameters
Return values
array<string|int, mixed> —The filtered array.
init()
Hooks run on 'init'.
public
init() : mixed
Return values
mixed —register()
public
register() : mixed
Return values
mixed —storefront_hide_cart_in_handheld_footer_bar()
public
storefront_hide_cart_in_handheld_footer_bar(mixed $links) : mixed
Parameters
- $links : mixed
Return values
mixed —theme_function_overrides()
public
theme_function_overrides() : mixed