ap_is_user_voted()

Function: Check if user vote on a post.

ap_get_vote()

Function: Get a single vote from database.

ap_count_votes()

Function: Get votes count.

ap_vote_btn()

Function: Output or return voting button.

ap_get_votes()

Function: Return votes.

AnsPress_Hooks::update_user_vote_casted_count()

Method: Update user meta of vote

ap_user_can_vote_on_post

Filter Hook: Filter to hijack ap_user_can_vote_on_post.

ap_user_can_vote_on_post()

Function: Check if user is allowed to cast a vote on post.

AnsPress_Admin_Ajax::ap_admin_vote()

Method: Handle ajax vote in wp-admin post edit screen.

AnsPress_Admin_Ajax::recount_votes()

Method: Ajax callback for ‘ap_recount_votes` which recounting votes of posts.