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$resultsResult of database deletion. False if error; number of rows affected if successful.int$locationLocation ID.
Files
do_action( 'mc_delete_location', $results, $location )