Skip to content

mc_event_has_alarm

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

Filter information used to set an alarm on an event in .ics files.

Auto-generated Example

add_filter(
   'mc_event_has_alarm',
    function(
        array $data,
        int $event_id,
        int $post
    ) {
        // Your code here.
        return $data;
    },
    10,
    3
);

Parameters

  • array $data Alarm information passable to mc_generate_alert_ical()
  • int $event_id Event ID.
  • int $post Post ID.

Returns

array

Files

apply_filters( 'mc_event_has_alarm', array(), $event->event_id, $tags['post'] )

← All Hooks

Clone this wiki locally