public static function argStatic(Query $query, $value, &$q) { $query->where('post_type', 'page'); $query->isSingle = false; }