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

Returns

string

Files

apply_filters( 'mc_event_mail_to', mc_get_option( 'event_mail_to' ), $details )

← All Hooks