bcc: an admin email when sending an email invoice / order details to customer
-
I tried this and similar, but can’t get it:
add_filter( ‘woocommerce_email_header’, ‘add_bcc_email’, 10, 2 );
function add_bcc_email( $email_heading, $email ) {
????if ( ‘customer_invoice’ == $email_id ) {
$headers .= ‘BCC: Name <[email protected]>’ . “\r\n”;
}
return $headers;
}`
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘bcc: an admin email when sending an email invoice / order details to customer’ is closed to new replies.