Filter
rpress_reminder_email_message
On this page
Filters the message body passed to the order reminder email.
Runs in rpress_reminder_send_email() just before the email is sent to the customer. The message is the reminder content after the store's template tags have been applied. The store's email template wraps it.
Parameters#
| Parameter | Type | Description |
|---|---|---|
$message | string | Email body. |
$payment_id | int | Order ID. |
Return value#
string. Email body.
Example#
function my_reminder_email_message( $message, $payment_id ) {
return $message . '<p>' . esc_html__( 'Bring this email if you collect in store.', 'my-plugin' ) . '</p>';
}
add_filter( 'rpress_reminder_email_message', 'my_reminder_email_message', 10, 2 );
Source#
Applied in:
includes/features/reminder-emails/functions.php(line 501), inrpress_reminder_send_email()
See also#
Was this page helpful?
