Action: mcp_post_published

do_action( 'mcp_post_published', int, object )

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

Parameters:
Name Type Description
int

$post_id New post ID.

object

$event Event object.

Source: