mc_update_event_post - joedolson/my-calendar GitHub Wiki
Execute action when an event's post is updated.
Auto-generated Example
add_action(
'mc_update_event_post',
function(
int $post_id,
array $post,
array $data,
int $event_id,
string $action
) {
// Your code here.
},
10,
5
);
Parameters
int$post_idPost ID.array$postPOST data.array$dataSubmitted event data.int$event_idEvent ID.string$actionAction being taken.
Files
do_action( 'mc_update_event_post', $post_id, $post, $data, $event_id, $action )
do_action( 'mc_update_event_post', $post_id, $post, $data, $event_id, 'add' )