Created
July 10, 2023 11:08
-
-
Save juanfra/8470edd4a8c9cd6d0a3cebc8f6010dd7 to your computer and use it in GitHub Desktop.
Add a custom BCC for the RSVP email.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* Do NOT include the opening php tag | |
/** | |
* BCC custom email on all Event Tickets' RSVP ticket emails | |
*/ | |
add_filter( 'tec_tickets_emails_dispatcher_rsvp_headers', 'my_add_bcc_email_headers' ); | |
function my_add_bcc_email_headers( $headers ) { | |
$headers['Bcc'] = 'YOUR NAME <your@email.com>'; | |
return $headers; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey everyone, I have the same problem as @greenorest. Can you please check for a solution?