get_user_poll_vote_option_index( int $post_id, int $user_id ): int|nullWhich option index the user voted for, if any.
public static
Class: Kernowdev\ClanbiteSocialKit\Social\Data_Access
Parameters
$post_id(int) RequiredSocial post ID.
$user_id(int) RequiredWordPress user ID.
Returns
int|null Option index or null.
Defined in inc/Social/Data_Access.php