Filter
rpress_reminder_batch_size
On this page
Filters how many orders are fetched per page when processing due reminders.
Runs in rpress_reminder_process_due(). The value is the posts_per_page of each query and is clamped to at least 1. The default is 100.
Parameters#
| Parameter | Type | Description |
|---|---|---|
$value | int | Orders per page. |
Return value#
int. Orders per page, minimum 1.
Example#
function my_reminder_batch( $size ) {
return 50;
}
add_filter( 'rpress_reminder_batch_size', 'my_reminder_batch' );
Source#
Applied in:
includes/features/reminder-emails/functions.php(line 278), inrpress_reminder_process_due()
See also#
Was this page helpful?
