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