# clanbite_social_kit_notify_mentions()

Notify the members @mentioned in content outside the feed.

Needs the Notifications extension; honours each member's privacy setting and never notifies the author.

```php
clanbite_social_kit_notify_mentions( string $content, int $author_id, string $url, string $object_type, int $object_id, string $location = '' ): int
```

## Parameters

- `$content` (string) Text or HTML with `@username` mentions.
- `$author_id` (int) Author.
- `$url` (string) Where the notification leads.
- `$object_type` (string) Short type, for example `forum_topic`.
- `$object_id` (int) Content id.
- `$location` (string) Where it was written (shown in the notification), for example the topic title.

## Return

`int` Number of members notified.

## Changelog

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