Modern Tribe,
I would like the same tickets that are emailed to the customers to be emailed to another email address.
Example: Customer buys ticket. Ticket is emailed to customer. Ticket is also emailed to admin email address.
I found this code below, but it doesn’t work. Please advise.
/*
* Send Ticket Info to Admin as Well
*/
function tribe_add_admin_email_to_rsvp_email_recipient( $to ) {
if ( ! is_string( $to ) ) {
return $to;
}
$combined_to = array(
$to,
‘[email protected]’
);
return $combined_to;
}
add_filter( ‘tribe_rsvp_email_recipient’, ‘tribe_add_admin_email_to_rsvp_email_recipient’ );