flowcrafter_loop_time_budget_seconds

  1. Description
  2. Usage
  3. Parameters
  4. Examples
    1. Change the For Each callback time budget
  5. Since

Description

Filters the soft time limit for one For Each callback.

Usage

Change the For Each callback time budget.

add_filter( 'flowcrafter_loop_time_budget_seconds', 'my_custom_function' );

Parameters

$seconds float

Time budget in seconds.

Examples

Change the For Each callback time budget

add_filter( 'flowcrafter_loop_time_budget_seconds', fn() => 10.0 );

Since

  • 1.0-beta-1 Hook added.