woocommerce_get_availability_class

woocommerce_get_availability_class

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

See hook in core

Displaying hooks found in version: woocommerce.9.9.5

apply_filters('woocommerce_get_availability_class') is found 1 times:

  • /includes/abstracts/abstract-wc-product.php line 2273
    			$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