Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
BCC all PMPro Register/Checkout Emails to a Certain Address
Add bcc for checkout emails
function my_pmpro_email_headers_admin_emails($headers, $email) {
//bcc checkout emails
if(strpos($email->template, "checkout_") !== false) {
//add bcc
$headers[] = "Bcc:" . "";
return $headers;
add_filter("pmpro_email_headers", "my_pmpro_email_headers_admin_emails", 10, 2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.