is_woocommerce filter-hookWC 1.0

Is_woocommerce - Returns true if on a page which uses WooCommerce templates (cart and checkout are standard pages with shortcodes and thus are not included).

Usage

add_filter( 'is_woocommerce', 'wp_kama_is_woocommerce_filter' );

/**
 * Function for `is_woocommerce` filter-hook.
 * 
 * @param  $condition 
 *
 * @return 
 */
function wp_kama_is_woocommerce_filter( $condition ){

	// filter...
	return $condition;
}
$condition
-

Where the hook is called

is_woocommerce()
is_woocommerce
woocommerce/includes/wc-conditional-functions.php 23
return apply_filters( 'is_woocommerce', is_shop() || is_product_taxonomy() || is_product() );

Where the hook is used in WooCommerce

Usage not found.