flowcrafter_loop_max_items_per_callback

  1. Description
  2. Usage
  3. Parameters
  4. Examples
    1. Change the For Each item limit per callback
  5. Since

Description

Filters how many For Each items one background callback may process.

Usage

Change the For Each item limit per callback.

add_filter( 'flowcrafter_loop_max_items_per_callback', 'my_custom_function' );

Parameters

$max_items int

Maximum items per callback.

$run Workflow_Run

Workflow run.

$loop_node array

For Each node definition.

Examples

Change the For Each item limit per callback

add_filter( 'flowcrafter_loop_max_items_per_callback', fn() => 25 );

Since

  • 1.0-beta-1 Hook added.