apply_filters( 'tribe_events_pro_geocode_resolved', array $result, string $address, int $venue_id, array $pieces )

Allows filtering the geocode resolution completely to use a custom solution.

Returning a non null value here will bail out of the geocode resolution solution implemented by the plugin completely.


Parameters

$result

(array) An array specifying the latitude and longitude coordinates for the address or false to indicate a failure in resolving the address to a set of coordinates; returning a non null value here will make the function return the filtered value.

$address

(string) The formatted address string.

$venue_id

(int) The Venue post ID.

$pieces

(array) The Venue address pieces.


Top ↑

Source

File: src/Tribe/Geo_Loc.php


Top ↑

Changelog

Changelog
Version Description
4.7 Introduced.