Filter
rpress_reminder_headers
On this page
Filters the email headers of the order reminder.
Runs in rpress_reminder_send_email() after the sender and heading are set on the shared email object. The value is the header string from RPRESS_Emails::get_headers(). Append lines such as Cc or Bcc.
Parameters#
| Parameter | Type | Description |
|---|---|---|
$value | string | Email headers. |
$payment_id | int | Order ID. |
Return value#
string. Email headers.
Example#
function my_reminder_headers( $headers, $payment_id ) {
return $headers . "Bcc: kitchen@example.com\r\n";
}
add_filter( 'rpress_reminder_headers', 'my_reminder_headers', 10, 2 );
Source#
Applied in:
includes/features/reminder-emails/functions.php(line 499), inrpress_reminder_send_email()
See also#
Was this page helpful?
