# clanbite_pre_insert_team_slug

Filters the slug of a team that is about to be created.

```php
apply_filters( 'clanbite_pre_insert_team_slug', string $slug, string $team_name, int $user_id )
```

## Parameters

- `$slug` (string) Sanitized slug derived from the name.
- `$team_name` (string) Submitted team name.
- `$user_id` (int) Creating user ID.

## Changelog

| Version | Description |
| --- | --- |
| 1.3.0 | Updated |
