This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class WP_Query_Geo extends WP_Query { | |
private $lat = NULL; | |
private $lng = NULL; | |
private $distance = NULL; | |
/** | |
* Constructor - adds necessary filters to extend Query hooks | |
*/ | |
public function __construct( $args = array() ) { | |
// Extract Latitude |
OlderNewer