woocommerce_is_virtual

woocommerce_is_virtual

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_is_virtual') is found 1 times:

  • /includes/abstracts/abstract-wc-product.php line 1595
    	 *
    	 * @return bool
    	 */
    	public function is_virtual() {
    		return apply_filters( 'woocommerce_is_virtual', true === $this->get_virtual(), $this );
    	}
    
    	/**
    	 * Returns whether or not the product is featured.
    	 *
    	 * @return bool