woocommerce_sidebar
Hook: woocommerce_sidebar.
Usage
add_action( 'woocommerce_sidebar', 'wp_kama_woocommerce_sidebar_action' ); /** * Function for `woocommerce_sidebar` action-hook. * * @return void */ function wp_kama_woocommerce_sidebar_action(){ // action... }
Where the hook is called
In file: /templates/archive-product.php
woocommerce_sidebar
woocommerce/templates/archive-product.php 103
do_action( 'woocommerce_sidebar' );
woocommerce/templates/single-product.php 56
do_action( 'woocommerce_sidebar' );
Where the hook is used in WooCommerce
woocommerce/includes/theme-support/class-wc-twenty-nineteen.php 31
remove_action( 'woocommerce_sidebar', 'woocommerce_get_sidebar', 10 );
woocommerce/includes/theme-support/class-wc-twenty-twenty-one.php 28
remove_action( 'woocommerce_sidebar', 'woocommerce_get_sidebar', 10 );
woocommerce/includes/theme-support/class-wc-twenty-twenty-three.php 24
remove_action( 'woocommerce_sidebar', 'woocommerce_get_sidebar', 10 );
woocommerce/includes/theme-support/class-wc-twenty-twenty-two.php 24
remove_action( 'woocommerce_sidebar', 'woocommerce_get_sidebar', 10 );
woocommerce/includes/theme-support/class-wc-twenty-twenty.php 31
remove_action( 'woocommerce_sidebar', 'woocommerce_get_sidebar', 10 );
woocommerce/includes/wc-template-hooks.php 54
add_action( 'woocommerce_sidebar', 'woocommerce_get_sidebar', 10 );