mc_modify_location - joedolson/my-calendar GitHub Wiki
Executed an action when a location is modified.
Auto-generated Example
add_filter(
'mc_modify_location',
function(
array $where,
array $update,
array $post
) {
// Your code here.
return $where;
},
10,
3
);
Parameters
array$whereArray [location_id => $id].array$updateArray of location parameters to update.array$postPOST array.
Files
apply_filters( 'mc_modify_location', $where, $update, $_POST )