Description
Retrieves all locations data for a given event.
Usage
em_get_locations_for($post_id)
Parameters
- $post_id | int – event (post) ID (required)
Return
Array of term objects 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 in case of any other errors.