Exemplo n.º 1
0
 /**
  * Parses a request to the 'original_query' var to access its boolean methods
  * This is called with highest priority to get first look at the request
  *
  * @param array $request
  *
  * @since 1.0
  */
 public function parse_original_request($request)
 {
     if (self::$original_query) {
         return $request;
     }
     self::$original_query = new WP_Query();
     self::$original_query->parse_query($request);
     return $request;
 }