Skip to content
Docs
Get RestroPress

Filter

rpress_reminder_message

Updated
On this page

Filters the order reminder line that describes the scheduled time.

Runs at the end of rpress_reminder_message(). The default reads 'Your order #N is scheduled for delivery at TIME' for delivery orders and 'Your order #N will be ready at TIME' otherwise. The result is the message used in the email.

Parameters#

ParameterTypeDescription
$messagestringMessage text.
$payment_idintOrder ID.
$service_atintUnix time of the service.

Return value#

string. Message text.

Example#

function my_reminder_message( $message, $payment_id, $service_at ) {
	return $message . ' ' . __( 'See you soon!', 'my-plugin' );
}
add_filter( 'rpress_reminder_message', 'my_reminder_message', 10, 3 );

Source#

Applied in:

  • includes/features/reminder-emails/functions.php (line 447), in rpress_reminder_message()

See also#

Was this page helpful?