WordPress at Your Fingertips
filter is not described

woocommerce_product_supports filter-hook . WC 2.5.0

Check if a product supports a given feature.

Product classes should override this to declare support (or lack of support) for a feature.

Usage

add_filter( 'woocommerce_product_supports', 'filter_function_name_8173', 10, 2 );
function filter_function_name_8173( $feature, $that ){
	// filter...

	return $feature;
}
$feature
-
$that
-

Changelog

Since 2.5.0 Introduced.

Where the hook is called

WC_Product::supports()
woocommerce_product_supports
woocommerce/includes/abstracts/abstract-wc-product.php 1470
return apply_filters( 'woocommerce_product_supports', in_array( $feature, $this->supports, true ), $feature, $this );

Where in WP core the hook is used WooCommerce

Usage not found.