mc_event_notices - joedolson/my-calendar GitHub Wiki

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