woocommerce_widget_cart_is_hidden filter-hookWC 1.0

Output widget.

Usage

add_filter( 'woocommerce_widget_cart_is_hidden', 'wp_kama_woocommerce_widget_cart_is_hidden_filter' );

/**
 * Function for `woocommerce_widget_cart_is_hidden` filter-hook.
 * 
 * @param array $args Arguments.
 *
 * @return array
 */
function wp_kama_woocommerce_widget_cart_is_hidden_filter( $args ){

	// filter...
	return $args;
}
$args(array)
Arguments.

Where the hook is called

WC_Widget_Cart::widget()
woocommerce_widget_cart_is_hidden
woocommerce/includes/widgets/class-wc-widget-cart.php 55
if ( apply_filters( 'woocommerce_widget_cart_is_hidden', is_cart() || is_checkout() ) ) {

Where the hook is used in WooCommerce

Usage not found.