Executed an action when a location post is created.
add_action( 'mc_create_location_post', function( int $post_id, array $post, array $data, int $location_id ) { // Your code here. }, 10, 4 );
int
$post_id
array
$post
$data
$location_id
do_action( 'mc_create_location_post', $post_id, $post, $data, $location_id )
← All Hooks
There was an error while loading. Please reload this page.