Clanbite

maybe_normalize_player_profile_stolen_query(  ): void

When a hierarchical Page (or other singular) steals /players/{nicename}/, fix flags before the template loader.

Core evaluates is_page / is_singular before is_author in wp-includes/template-loader.php, so a wrong main query never reaches author templates. Teams avoid this by using the cp_team post type.

public

Class: Kernowdev\Clanbite\Extensions\Players

Returns

void

Defined in inc/extensions/players/class-extension-players.php