Retrieves a single event location data.
- $term_id | int – event location (term) ID (optional)
In case the $term_id is not passed, function tries to automatically detect the requested object using get_queried_object() function.
A term object with additional ‘location_meta’ key, that contains addition location metadata: latitude, longitude, address, city, state, zip, country. Returns FALSE if ‘event-location’ is disabled (not registered) or NULL if the $term_id was not given and querried object was not detected or in case of any other errors.