woocommerce_customer_stock_notifications_next_batch_delay

woocommerce_customer_stock_notifications_next_batch_delay

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.10.2.2

apply_filters('woocommerce_customer_stock_notifications_next_batch_delay') is found 1 times:

  • /src/Internal/StockNotifications/AsyncTasks/JobManager.php line 134
    		 *
    		 * @param int   $delay       Delay time in seconds before next batch.
    		 * @param int   $product_id  Product ID being scheduled.
    		 */
    		$delay = (int) apply_filters( 'woocommerce_customer_stock_notifications_next_batch_delay', 0, $product_id );
    		$delay = max( 0, $delay );
    
    		if ( 0 === $delay ) {
    			$action_id = $this->queue->add(
    				self::AS_JOB_SEND_STOCK_NOTIFICATIONS,
    				$args,