woocommerce_get_availability_class, $class, $this

woocommerce_get_availability_class, $class, $this

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

apply_filters('woocommerce_get_availability_class, $class, $this') is found 1 times:

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