function add_bcc_all_emails( $headers, $object ) { $headers = array( $headers, 'Bcc: Me <my@mail.net>' ."\r\n", ); return $headers; } add_filter( 'woocommerce_email_headers', 'add_bcc_all_emails', 10, 2 );
WooCommerce BCC emails to specific email address
woocommerce_email_headers