Skip to content

mc_delete_location

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

Executed an action when a location is deleted.

Auto-generated Example

add_action(
   'mc_delete_location',
    function(
        int|false $results,
        int $location
    ) {
        // Your code here.
    },
    10,
    2
);

Parameters

  • int|false $results Result of database deletion. False if error; number of rows affected if successful.
  • int $location Location ID.

Files

do_action( 'mc_delete_location', $results, $location )

← All Hooks

Clone this wiki locally