Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
* @Title: WooCommerce - Add Bcc email to Completed Order Email
* @Author: Mina Pansuriya
* @Blog URL:
add_filter( 'woocommerce_email_headers', 'es_headers_filter_function', 10, 3);
function es_headers_filter_function( $headers, $id, $object )
if ($id == 'customer_completed_order')
$headers .= 'BCC: '.$id.' <>' . "\r\n";
return $headers;
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.