Support » Plugin: Kadence WooCommerce Email Designer » bcc: an admin email when sending an email invoice / order details to customer

  • molinesupport

    (@molinesupport)


    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 <someone@doamin.com>’ . “\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)
  • You must be logged in to reply to this topic.