Action: mc_create_location_post

do_action( 'mc_create_location_post', $post_id, $post, $data, $location_id )

Executed an action when a location post is created.

Parameters:
Name Type Description
$post_id int

Post ID.

$post array

POST Array of data sent to create post.

$data array

Data for this location.

$location_id int

Location ID.

Source: