Skip to content

mc_event_notices

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

Filter notices. This is really handled and used as an action, but is still labeled a filter for backwards compatibility.

Auto-generated Example

add_filter(
   'mc_event_notices',
    function(
        string $output,
        object $data,
        int $event_id
    ) {
        // Your code here.
        return $output;
    },
    10,
    3
);

Parameters

  • string $output Output (unused).
  • object $data Event object.
  • int $event_id Event ID.

Returns

void

Files

apply_filters( 'mc_event_notices', '', $data, $event_id )

← All Hooks

Clone this wiki locally