Example #1
0
 public static function buildWpQuery($query, $exclude_id = false)
 {
     $data = self::parseData($query);
     $query_builder = new VcLoopQueryBuilder($data);
     if ($exclude_id) {
         $query_builder->excludeId($exclude_id);
     }
     return $query_builder->build($exclude_id);
 }
Example #2
0
File: loop.php Project: ImtiH/BAPWD
 public static function buildWpQuery($query)
 {
     $data = self::parseData($query);
     $query_builder = new VcLoopQueryBuilder($data);
     return $query_builder->build();
 }