-
-
Save juanfra/8470edd4a8c9cd6d0a3cebc8f6010dd7 to your computer and use it in GitHub Desktop.
<?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 <[email protected]>'; | |
return $headers; | |
} |
Hi @annikaschmidttw,
Thanks for your comment. Yes, please check this article, where we explain how to use custom snippets.
Best,
Juan
Hi, thanks for the code! could you please adapt the code for the normal ticket emails from the event calendar?
Thank you very much! Best regards, Dominic
Thank you very much for the code. I use the code snippet plugin on my wordpress site. I use the tickets options of the events calendar and wanted to use that code to have a copy of "reservations" Emails sent to a adress of my choice. I put that address in the code shown above. I then paste the code in the code snippet plugin and activate it, chose "run everywhere".
Unfortunately, nothing happens. Can someone please help?
Hey everyone, I have the same problem as @greenorest. Can you please check for a solution?
Hey, thanks for the code. May you help me? Where do I need to paste it exactly so that it works? I have tried various ways but nothing was successfull.... Thanks in advance!