# clanbite_register_group_subpage()

Register a group profile subpage (tab) for front-end group profiles.

Call on `init` (priority ≤ 20) so subpages exist before block rendering.

```php
clanbite_register_group_subpage( string $slug, array $args = array() ): void
```

## Parameters

- `$slug` (string) Unique slug (URL segment after the group base URL).
- `$args` (array) Optional. Subpage arguments.
  - `$label` (string) Human-readable nav label.
  - `$template_id` (string) FSE template id (default `clanbite-group-{slug}`).
  - `$default_blocks` (string) Optional default block markup for the template.
  - `$capability` (string) Capability required to see the tab in nav (default `read`).
  - `$position` (int) Sort order (lower first).

## Return

`void`
