ProductSchema::get_low_stock_remaining( WC_Product $product )

If a product has low stock, return the remaining stock amount for display.


Description Description


Parameters Parameters

$product

(Required) Product instance.


Top ↑

Return Return

(integer|null)


Top ↑

Source Source

File: packages/woocommerce-blocks/src/StoreApi/Schemas/ProductSchema.php




Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.