flowcrafter_cancel_actions_page_size

  1. Description
  2. Usage
  3. Parameters
  4. Examples
    1. Change the cancellation batch size
  5. Since

Description

Filter the page size used when cancelling pending actions in bulk. The loop re-queries until the group is empty regardless, so this only tunes how many actions are fetched per pass. Mainly a testing seam.

Usage

Change the cancellation batch size.

add_filter( 'flowcrafter_cancel_actions_page_size', 'my_custom_function' );

Parameters

$page_size int

Actions fetched per pass. Default 1000.

Examples

Change the cancellation batch size

add_filter( 'flowcrafter_cancel_actions_page_size', fn() => 500 );

Since

  • 1.0-beta-1 Hook added.