WordPress at a glance
filter is not described

woocommerce_hide_invisible_variations filter-hook . WC 1.0

Filter 'woocommerce_hide_invisible_variations' to optionally hide invisible variations (disabled variations and variations with empty price).

Usage

add_filter( 'woocommerce_hide_invisible_variations', 'filter_function_name_8974', 10, 3 );
function filter_function_name_8974( $true, $id, $variation ){
	// filter...

	return $true;
}
$true
-
$id
-
$variation
-

Where the hook is called

WC_Product_Variable::get_available_variations()
woocommerce_hide_invisible_variations
WC_Product_Variable::variation_is_available()
woocommerce_hide_invisible_variations
woocommerce/includes/class-wc-product-variable.php 307
if ( apply_filters( 'woocommerce_hide_invisible_variations', true, $this->get_id(), $variation ) && ! $variation->variation_is_visible() ) {
woocommerce/includes/class-wc-product-variable.php 339
if ( apply_filters( 'woocommerce_hide_invisible_variations', true, $this->get_id(), $variation ) && ! $variation->variation_is_visible() ) {

Where in WP core the hook is used WooCommerce

Usage not found.