on_social_poll_voted( int $post_id, int $user_id, int $option_index, object $post_row ): voidAward points to a member who voted in a social poll.
public static
Class: Kernowdev\ClanbitePoints\Integration\Companion_Hooks
Parameters
$post_id(int) RequiredPost ID.
$user_id(int) RequiredVoter.
$option_index(int) RequiredChosen option index.
$post_row(object) RequiredPost row (unused; signature matches Social Kit action).
Returns
void
Defined in inc/Integration/Companion_Hooks.php
Changelog
| Version | Description |
|---|---|
| 1.2.1 | Updated. |