# Players::pre_get_posts_force_player_author_archive()

Force the main query to treat `/players/{nicename}/` as an author archive when a page/CPT stole early parsing.

Runs on `pre_get_posts` so WordPress re-parses query flags after vars are normalized.

```php
pre_get_posts_force_player_author_archive( WP_Query $query ): void
```

## Parameters

- `$query` (\WP_Query) Query instance.

## Return

`void`
