woocommerce_product_supports

woocommerce_product_supports

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_product_supports') is found 1 times:

  • /includes/abstracts/abstract-wc-product.php line 1561
    1557
    1558
    1559
    1560
    1561
    1562
    1563
    1564
    1565
    1566
    1567
    * @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