woocommerce_variation_is_active

woocommerce_variation_is_active

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_variation_is_active') is found 1 times:

  • /includes/class-wc-product-variation.php line 573
    569
    570
    571
    572
    573
    574
    575
    576
    577
    578
    579
    *
     * @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.