示例#1
0
 /**
  * Toggle limiting of query_posts to located posts only, 
  * with Geo Mashup query extensions.
  *
  * When enabled, only posts with locations will be returned from
  * WordPress query_posts() and related functions. Also adds Geo Mashup
  * public query variables.
  *
  * Caution - what if a future Geo Mashup incorporates multiple locations per object?
  *
  * @since 1.3
  *
  * @param bool $yes_or_no Whether to activate the join or not.
  */
 public static function join_post_queries($yes_or_no)
 {
     GeoMashupDB::join_post_queries($yes_or_no);
 }