# Companion_Hooks::on_social_post_created()

Award points for a social post (and its image or poll) a member published.

```php
on_social_post_created( $post_id, $data ): void
```

## Parameters

- `$post_id` (int) Post ID.
- `$data` (array<string, mixed>) Post payload.

## Return

`void` 

## Changelog

| Version | Description |
| --- | --- |
| 1.2.1 | Updated |
