ap_{$vote_type}

Action Hook: Action ap_[vote_type] Action triggred after adding a vote for a post.

ap_delete_post_vote()

Function: Delete post vote and update qameta votes count.

ap_add_post_vote()

Function: Add post vote.

ap_insert_vote

Action Hook: Action triggered after inserting a vote.

ap_is_user_voted()

Function: Check if user vote on a post.

AnsPress_Hooks::update_user_vote_casted_count()

Method: Update user meta of vote

ap_user_can_vote_on_post()

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

ap_user_can_vote_on_post

Filter Hook: Filter to hijack ap_user_can_vote_on_post.

AnsPress_Admin_Ajax::recount_votes()

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

AnsPress_Admin_Ajax::ap_admin_vote()

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