do_action( 'clanbite_social_kit_poll_voted', int $post_id, int $user_id, int $option_index, object $post_row )Fires after a user successfully casts their first vote on a feed poll.
Action PHP
Parameters
$post_id(int)Social post ID.
$user_id(int)Voter.
$option_index(int)Zero-based option index.
$post_row(object)Post row before refresh (same as pre-vote
$row).
Example
add_action( 'clanbite_social_kit_poll_voted', function ( $post_id, $user_id, $option_index, $post_row ) {
// Run your code.
}, 10, 4 );Defined in inc/Rest/Rest_Controller.php