# clanbite_social_kit_render_mentions()

Turn `@username` in content into profile links, honouring each member's "who can @mention me" setting.

Safe on HTML: attributes and text inside links, code and pre blocks are left alone. Use it to make mentions work in your own
content (the forums do).

```php
clanbite_social_kit_render_mentions( string $content, int $author_id = 0 ): string
```

## Parameters

- `$content` (string) Text or HTML.
- `$author_id` (int) Author, so privacy settings apply to the mentioned members (0 skips the check).

## Return

`string` 

## Changelog

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