woocommerce_customer_stock_notifications_first_batch_delay
woocommerce_customer_stock_notifications_first_batch_delay
Appears in: woocommerce.10.2.2
Hook Type: filter
Displaying hooks found in version: woocommerce.10.2.2apply_filters('woocommerce_customer_stock_notifications_first_batch_delay') is found 1 times:
- /src/Internal/StockNotifications/AsyncTasks/JobManager.php line 82
* * @param int $delay Delay time in seconds before first batch. * @param int $product_id Product ID being scheduled. */ $delay = (int) apply_filters( 'woocommerce_customer_stock_notifications_first_batch_delay', MINUTE_IN_SECONDS, $product_id ); $delay = max( 0, $delay ); $action_id = $this->queue->schedule_single( time() + $delay, self::AS_JOB_SEND_STOCK_NOTIFICATIONS, $args,