Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
WPJM: Specify language for geolocation
// Add to theme functions.php
add_filter( 'job_manager_geolocation_endpoint', 'change_geocode_lang' );
function change_geocode_lang( $endpoint ) {
// Use language from
return add_query_arg( 'language', 'en-GB', $endpoint );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment