Filter
rpress_pause_orders_busy_steps
On this page
Filters the extra prep time steps offered for busy mode, in minutes.
Runs in RPRESS_Pause_Orders::busy_steps(). The default is 10, 20 and 30. Every value is passed through absint().
Parameters#
| Parameter | Type | Description |
|---|---|---|
$value | int[] | Allowed extra prep steps in minutes. |
Return value#
int[]. Allowed extra prep steps.
Example#
function my_busy_steps( $steps ) {
return array( 5, 15, 30, 45 );
}
add_filter( 'rpress_pause_orders_busy_steps', 'my_busy_steps' );
Source#
Applied in:
includes/features/pause-orders/loader.php(line 154), inRPRESS_Pause_Orders::busy_steps()
See also#
Was this page helpful?
