Filter: mt_create_location_object

apply_filters( 'mt_create_location_object', $location, $location_id ) → {object|false}

Filter location objects saved with events. Expects a My Calendar structured location object.

Parameters:
Name Type Description
$location false

Default location object.

$location_id int

ID value saved in post meta _mc_event_location.

Source:
Returns:
Type
object | false