Skip to content

mc_send_notification

github-actions[bot] edited this page May 15, 2026 · 4 revisions

Filter whether email notifications should be sent.

Auto-generated Example

add_filter(
   'mc_send_notification',
    function(
        {bool} $send_email,
        {array} $details
    ) {
        // Your code here.
        return $send_email;
    },
    10,
    2
);

Parameters

  • {bool} $send_email Boolean equivalent of value of event email setting.
  • {array} $details Event details for notifications.

Returns

{bool}

Files

apply_filters( 'mc_send_notification', $send_email_option, $details )

← All Hooks

Clone this wiki locally