woocommerce_product_is_in_stock

woocommerce_product_is_in_stock

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_product_is_in_stock') is found 1 times:

  • /includes/abstracts/abstract-wc-product.php line 1712
    	 *
    	 * @return bool
    	 */
    	public function is_in_stock() {
    		return apply_filters( 'woocommerce_product_is_in_stock', 'outofstock' !== $this->get_stock_status(), $this );
    	}
    
    	/**
    	 * Checks if a product needs shipping.
    	 *
    	 * @return bool