Skip to content

Instantly share code, notes, and snippets.

@propertyhive
Created November 15, 2019 10:00
Show Gist options
  • Save propertyhive/766be02f756b3100810b1cc433f9046a to your computer and use it in GitHub Desktop.
Save propertyhive/766be02f756b3100810b1cc433f9046a to your computer and use it in GitHub Desktop.
Radial search bias
add_filter( 'propertyhive_radial_search_location_lookup', 'add_radial_search_bias' );
function add_radial_search_bias($location)
{
$location .= ', Yorkshire';
return $location;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment