Skip to content

mc_event_mail_from

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

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

Clone this wiki locally