woocommerce_variation_is_active

woocommerce_variation_is_active

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_variation_is_active') is found 1 times:

  • /includes/class-wc-product-variation.php line 561
    	 *
    	 * @return bool
    	 */
    	public function variation_is_active() {
    		return apply_filters( 'woocommerce_variation_is_active', true, $this );
    	}
    
    	/**
    	 * 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.