mc_delete_location - joedolson/my-calendar GitHub Wiki

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