woocommerce_product_supports

woocommerce_product_supports

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

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_product_supports') is found 1 times:

  • /includes/abstracts/abstract-wc-product.php line 1554
    	 * @return bool True if the product supports the feature, false otherwise.
    	 * @since  2.5.0
    	 */
    	public function supports( $feature ) {
    		return apply_filters( 'woocommerce_product_supports', in_array( $feature, $this->supports, true ), $feature, $this );
    	}
    
    	/**
    	 * Returns whether or not the product post exists.
    	 *
    	 * @return bool