clanbite_register_player_subpage( string $slug, array $args = array() ): voidRegister a player profile subpage (tab) for the front-end player profile.
Third-party plugins should call this on init.
Parameters
$slug(string) RequiredUnique slug (used in the URL).
$args(array) OptionalDefault:
array()$labelstringHuman-readable label for navigation.$template_idstringFSE template identifier (defaults to "clanbite-player-{$slug}").$default_blocksstringOptional default block markup to seed the template.$capabilitystringCapability required to view (default "read").$positionintSort order in navigation (lower first).
Returns
void
Defined in inc/extensions/players/functions.php