woocommerce_get_availability_class

woocommerce_get_availability_class

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_get_availability_class') is found 1 times:

  • /includes/abstracts/abstract-wc-product.php line 2268
    2264
    2265
    2266
    2267
    2268
    2269
    2270
    2271
    2272
    2273
    2274
            $class = 'available-on-backorder';
        } else {
            $class = 'in-stock';
        }
        return apply_filters( 'woocommerce_get_availability_class', $class, $this );
    }
     
    /**
     * Set the defined value of the Cost of Goods Sold for this product.
     *
     * In this implementation the defined value is a monetary value, but in the future