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); }
public static function buildWpQuery($query) { $data = self::parseData($query); $query_builder = new VcLoopQueryBuilder($data); return $query_builder->build(); }