WordPress at a glance
filter is not described

woocommerce_product_has_options filter-hook . WC 3.0.0

Returns whether or not the product has additional options that need selecting before adding to cart.

Usage

add_filter( 'woocommerce_product_has_options', 'filter_function_name_3337', 10, 2 );
function filter_function_name_3337( $false, $that ){
	// filter...

	return $false;
}
$false
-
$that
-

Changelog

Since 3.0.0 Introduced.

Where the hook is called

WC_Product::has_options()
woocommerce_product_has_options
WC_Product_Variable::has_options()
woocommerce_product_has_options
woocommerce/includes/abstracts/abstract-wc-product.php 1741
return apply_filters( 'woocommerce_product_has_options', false, $this );
woocommerce/includes/class-wc-product-variable.php 593
return apply_filters( 'woocommerce_product_has_options', true, $this );

Where in WP core the hook is used WooCommerce

Usage not found.