Victor,
Thanks for the filter. I’m using this now and it’s working, not what I was looking for but it will do for now. Hopefully this functionality can get implemented in future releases where an email get’s sent out to an administrator or the event organizer.
<?php
/**
* BCC custom email on all Event Tickets' purchased
*/
function add_bcc_email_headers( $headers ) {
// Define who gets bcc'd
$bcc = "Custom Name <[email protected]>";
$headers[] = sprintf( 'Bcc: %s', $bcc );
return $headers;
}
add_filter( 'tribe_tpp_email_headers', 'add_bcc_email_headers', 10, 1 );