woocommerce_customer_stock_notifications_batch_size

woocommerce_customer_stock_notifications_batch_size

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.10.2.2

apply_filters('woocommerce_customer_stock_notifications_batch_size') is found 1 times:

  • /src/Internal/StockNotifications/AsyncTasks/NotificationsProcessor.php line 110
    		 *
    		 * @param int $batch_size Default batch size.
    		 * @return int
    		 */
    		return (int) apply_filters( 'woocommerce_customer_stock_notifications_batch_size', self::BATCH_SIZE );
    	}
    
    	/**
    	 * Parse the product ID from the arguments.
    	 *
    	 * @param int $product_id The product ID.