# clanbite_social_kit_post_created

Fires when a social post is created.

Used by the mentions system to parse @mentions and send notifications.

Other plugins that publish a post on a member's behalf fire the same action with `system_generated` (bool, `true`)
and a `source` slug in `$data`; listeners that reward posting (Points) must ignore those.

```php
do_action( 'clanbite_social_kit_post_created', int $id, array $data )
```

## Parameters

- `$id` (int) Post ID.
- `$data` (array) Post data including `content`, `author_id`, `post_type`, `team_id`, `group_id`, `feed_context`, `feed_subject_id` and `has_poll` (bool).

## Changelog

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