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.
Contents
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
falseto indicate a failure in resolving the address to a set of coordinates; returning a nonnullvalue 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.
Source
File: src/Tribe/Geo_Loc.php
Changelog
| Version | Description |
|---|---|
| 4.7 | Introduced. |