Skip to content

mc_event_mail_to

github-actions[bot] edited this page Jun 3, 2026 · 4 revisions

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

Clone this wiki locally