Skip to content

mc_delete_event

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

Action run when an event is deleted.

Auto-generated Example

add_action(
   'mc_delete_event',
    function(
        int $event_id,
        int $post_id
    ) {
        // Your code here.
    },
    10,
    2
);

Parameters

  • int $event_id Event ID.
  • int $post_id Event Post ID.

Files

do_action( 'mc_delete_event', $event_id, $post_id )

← All Hooks

Clone this wiki locally