Last updated July 11, 2026, Version 0.34
Filters the Photon API base URL used for geocoding and address search.
Auto-generated Example
add_filter(
'gatherpress_photon_api_url',
function( string $url ) {
// Your code here.
return $url;
}
);
Parameters
string$urlDefault Photon API URL (e.g. https://photon.komoot.io/api).
Files
apply_filters( 'gatherpress_photon_api_url', self::PHOTON_API_URL )