mc_event_mail_to - joedolson/my-calendar GitHub Wiki
Filter event notification email to header.
Auto-generated Example
add_filter(
'mc_event_mail_to',
function(
string $to,
array $details
) {
// Your code here.
return $to;
},
10,
2
);
Parameters
string$toEmail to field string.array$detailsArray of details passed to email function.
Returns
string
Files
apply_filters( 'mc_event_mail_to', mc_get_option( 'event_mail_to' ), $details )