• 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)
  • hannah

    (@hannahritner)

    Hey,
    Thanks for reaching out! Apologies for the delay. Can you tell me where you’re adding this? I’ll check in with the developer and have him verify the code for you.

    Kindly,
    Hannah

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.