# clanbite_extension_{slug}_templates

Filter templates for a specific extension.

Template array shape:
- key: template slug (without namespace), e.g. "player-settings"
- value: [
    'title'       => 'Template Title',
    'path'        => '/absolute/path/to/template.php',
    'description' => 'Optional. Shown in the Site Editor.',
    'post_types'  => array( 'post' ), // Optional. WP 6.7+ plugin templates only.
  ]

```php
apply_filters( 'clanbite_extension_{slug}_templates', array<string, array<string, string>> $templates, Skeleton $extension )
```

## Parameters

- `$templates` (array<string, array<string, string>>) Template definitions.
- `$extension` (Skeleton) Extension object.
