WordPress at Your Fingertips
filter is not described

woocommerce_variation_is_visible filter-hook . WC 1.0

Checks if this particular variation is visible. Invisible variations are enabled and can be selected, but no price / stock info is displayed. Instead, a suitable 'unavailable' message is displayed. Invisible by default: Disabled variations and variations with an empty price.


add_filter( 'woocommerce_variation_is_visible', 'filter_function_name_5973', 10, 4 );
function filter_function_name_5973( $condition, $id, $parent_id, $that ){
	// filter...

	return $condition;

Where the hook is called

woocommerce/includes/class-wc-product-variation.php 572
return apply_filters( 'woocommerce_variation_is_visible', 'publish' === get_post_status( $this->get_id() ) && '' !== $this->get_price(), $this->get_id(), $this->get_parent_id(), $this );

Where in WP core the hook is used WooCommerce

Usage not found.