APP_Geo_Query
Provides ‘location’ => ‘San Francisco’ and ‘orderby’ => ‘distance’ public query vars.
Package
Description Description
Methods Methods
- add_query_vars
- distance — Calculates the distance between two points on the surface of an Earth-sized sphere
- get_smart_radius — Calculates the radius of the circle described around the rectangle with the given coordinates of the vertices.
- install — Creates database table for geo coordinates.
- parse_query
- posts_clauses
- uninstall — Deletes database table for geo coordinates.