# clanbite_format_message()

Replace `{placeholder}` tokens in a template.

Only tokens that have a value in `$vars` are replaced; anything else is left as written, so a typo stays visible.

```php
clanbite_format_message( string $template, array $vars ): string
```

## Parameters

- `$template` (string) Wording with `{token}` placeholders.
- `$vars` (array<string, scalar>) Token => value (plain text).

## Return

`string` 

## Changelog

| Version | Description |
| --- | --- |
| 1.5.0 | Introduced |
