Action: mcp_post_published

do_action( 'mcp_post_published', $post_id, $event )

Action when a My Calendar Pro blog post is created from an event.

Parameters:
Name Type Description
$post_id int

New post ID.

$event object

Event object.

Source: