mc_delete_location_posts - joedolson/my-calendar GitHub Wiki

Executed an action when a location's post is deleted.

Auto-generated Example

add_action(
   'mc_delete_location_posts',
    function(
        int $location_id,
        int $post
    ) {
        // Your code here.
    },
    10,
    2
);

Parameters

  • int $location_id Location deleted.
  • int $post Post ID.

Files

do_action( 'mc_delete_location_posts', $location_id, $post )

← All Hooks