# Companion_Hooks::on_social_comment_created()

Award points for a comment a member posted on a social post.

```php
on_social_comment_created( $comment_id, $post_id, $data ): void
```

## Parameters

- `$comment_id` (int) Comment ID.
- `$post_id` (int) Parent post ID.
- `$data` (array<string, mixed>) Comment payload.

## Return

`void` 

## Changelog

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