is_woocommerce

is_woocommerce

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('is_woocommerce') is found 1 times:

  • /includes/wc-conditional-functions.php line 23
     *
     * @return bool
     */
    function is_woocommerce() {
    	return apply_filters( 'is_woocommerce', is_shop() || is_product_taxonomy() || is_product() );
    }
    
    if ( ! function_exists( 'is_shop' ) ) {
    
    	/**
    	 * Is_shop - Returns true when viewing the product type archive (shop).