# Companion_Hooks::on_social_poll_voted()

Award points to a member who voted in a social poll.

```php
on_social_poll_voted( $post_id, $user_id, $option_index, $post_row ): void
```

## Parameters

- `$post_id` (int) Post ID.
- `$user_id` (int) Voter.
- `$option_index` (int) Chosen option index.
- `$post_row` (object) Post row (unused; signature matches Social Kit action).

## Return

`void` 

## Changelog

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