flowcrafter_confirmation_poll_interval

  1. Description
  2. Usage
  3. Parameters
  4. Examples
    1. Change the confirmation polling interval
  5. Since

Description

Filter the polling interval for the confirmation status endpoint.

Usage

Change the confirmation polling interval.

add_filter( 'flowcrafter_confirmation_poll_interval', 'my_custom_function' );

Parameters

$interval int

Poll interval in milliseconds. Default 5000.

$run_id int

The workflow run ID.

Examples

Change the confirmation polling interval

add_filter( 'flowcrafter_confirmation_poll_interval', fn() => 3000 );

Since

  • 1.0-beta-1 Hook added.