woocommerce_order_hold_stock_minutes
woocommerce_order_hold_stock_minutes
Appears in: woocommerce.8.8.3, woocommerce.8.9.2, woocommerce.8.9.3, woocommerce.9.0.2, woocommerce.9.1.2, woocommerce.9.1.4, woocommerce.9.2.2, woocommerce.9.2.3
Hook Type: filter
Displaying hooks found in version: woocommerce.9.2.3apply_filters('woocommerce_order_hold_stock_minutes') is found 1 times:
- /src/Checkout/Helpers/ReserveStock.php line 80
* * @param int $minutes How long to reserve stock for the order in minutes. Defaults to woocommerce_hold_stock_minutes or 10 if block checkout entry. * @param \WC_Order $order Order object. */ $minutes = (int) apply_filters( 'woocommerce_order_hold_stock_minutes', $minutes, $order ); if ( ! $minutes || ! $this->is_enabled() ) { return; } $held_stock_notes = array();