ap_set_selected_answer()

Function: Set selected answer for a question

ap_update_votes_count()

Function: Update qameta votes count

ap_update_answers_count()

Function: Update count of answers in post meta.