Skip to content
Docs
Get RestroPress

Filter

rpress_reminder_settings

Updated
On this page

Filters the order reminder settings with defaults applied.

Runs at the end of rpress_reminder_settings(). The array has enabled (bool), minutes (int, the lead time before service, clamped between 5 minutes and one day), plus subject, heading and content strings. Changes affect due-time calculation, sending and the email copy.

Parameters#

ParameterTypeDescription
$settingsarraySettings with keys enabled, minutes, subject, heading and content.

Return value#

array. Reminder settings.

Example#

function my_reminder_settings( $settings ) {
	$settings['minutes'] = 45;
	return $settings;
}
add_filter( 'rpress_reminder_settings', 'my_reminder_settings' );

Source#

Applied in:

  • includes/features/reminder-emails/functions.php (line 84), in rpress_reminder_settings()

See also#

Was this page helpful?