Filter
rpress_reminder_message
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#
| Parameter | Type | Description |
|---|---|---|
$message | string | Message text. |
$payment_id | int | Order ID. |
$service_at | int | Unix 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), inrpress_reminder_message()
See also#
Was this page helpful?
