apply_filters( 'woocommerce_prevent_adjust_line_item_product_stock', bool $prevent , WC_Order_Item $item , int $item_quantity )
Prevent adjust line item product stock.
Description Description
Parameters Parameters
- $prevent
-
If should prevent.
- $item
-
Item object.
- $item_quantity
-
quantity to check against.
Source Source
File: includes/admin/wc-admin-functions.php
Changelog Changelog
Version | Description |
---|---|
3.7.1 | Introduced. |