flowcrafter_run_retention_days

  1. Description
  2. Usage
  3. Parameters
  4. Examples
    1. Change how long completed runs are retained
  5. Since

Description

Filters how many days completed workflow runs are retained.

Usage

Change how long completed runs are retained.

add_filter( 'flowcrafter_run_retention_days', 'my_custom_function' );

Parameters

$days int

Retention period in days.

Examples

Change how long completed runs are retained

add_filter( 'flowcrafter_run_retention_days', fn() => 30 );

Since

  • 1.0-beta-1 Hook added.