Skip to content

mc_update_event_post

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

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_id Post ID.
  • array $post POST data.
  • array $data Submitted event data.
  • int $event_id Event ID.
  • string $action Action 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' )

← All Hooks

Clone this wiki locally