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 $from Email string for email header from value.
  • array $details Array of details passed to email function.

Returns

string

Files

apply_filters( 'mc_event_mail_from', $from, $details )

← All Hooks