Action run just before an event is deleted.
add_action( 'mc_before_delete_event', function( int $event_id, int $post_id ) { // Your code here. }, 10, 2 );
int
$event_id
$post_id
do_action( 'mc_before_delete_event', $event_id, $post_id )
← All Hooks
There was an error while loading. Please reload this page.