public function filterRequest( $query_vars ) {
		/** @var $routes \WPEmerge\Routing\RouteInterface[] */
		$routes = $this->router->getRoutes();

		foreach ( $routes as $route ) {
			if ( ! $route instanceof HasQueryFilterInterface ) {
				continue;
			}

			if ( ! $route->isSatisfied( $this->request ) ) {
				continue;
			}

			$query_vars = $route->applyQueryFilter( $this->request, $query_vars );
			break;
		}

		return $query_vars;
	}
public function filterRequest( $query_vars ) {
		/** @var $routes \WPEmerge\Routing\RouteInterface[] */
		$routes = $this->router->getRoutes();

		foreach ( $routes as $route ) {
			if ( ! $route instanceof HasQueryFilterInterface ) {
				continue;
			}

			if ( ! $route->isSatisfied( $this->request ) ) {
				continue;
			}

			$query_vars = $route->applyQueryFilter( $this->request, $query_vars );
			break;
		}

		return $query_vars;
	}
public function filterRequest ( $ query_vars ) { /** @var $routes \WPEmerge\Routing\RouteInterface[] */ $ routes = $ this -> router -> getRoutes ( ) ; foreach ( $ routes as $ route ) { if ( ! $ route instanceof HasQueryFilterInterface ) { continue ; } if ( ! $ route -> isSatisfied ( $ this -> request ) ) { continue ; } $ query_vars = $ route -> applyQueryFilter ( $ this -> request , $ query_vars ) ; break ; } return $ query_vars ; }
Filter the main query vars.

@param  array $query_vars
@return array
Filter the main query vars .