Action Hook: Action ap_[vote_type] Action triggred after adding a vote for a post.
Function: Delete post vote and update qameta votes count.
Function: Add post vote.
Action Hook: Action triggered after inserting a vote.
Function: Check if user vote on a post.
Method: Update user meta of vote
Function: Check if user is allowed to cast a vote on post.
Filter Hook: Filter to hijack ap_user_can_vote_on_post.
Method: Ajax callback for ‘ap_recount_votes` which recounting votes of posts.
Method: Handle ajax vote in wp-admin post edit screen.