Skip to content

mc_delete_location_posts

github-actions[bot] edited this page Jun 3, 2026 · 4 revisions

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

Clone this wiki locally