ap_answers_the_pagination()

Function: Output answers pagination. Should be used inside a loop.

ap_count_published_answers()

Function: Return numbers of published answers.

AnsPress_Ajax::init()

Method: Initialize the plugin by setting localization and loading public scripts and styles.

AnsPress_Ajax::suggest_similar_questions()

Method: Show similar questions while asking a question.

AnsPress_Ajax::toggle_best_answer()

Method: Ajax action for selecting a best answer.

ap_select_answer

Action Hook: Trigger right after selecting an answer.

AnsPress_Ajax::toggle_delete_post()

Method: Process ajax trash posts callback.

AnsPress_Ajax::permanent_delete_post()

Method: Handle Ajax callback for permanent delete of post.

ap_wp_trash_question

Action Hook: Triggered right before deleting question.

ap_wp_trash_answer

Action Hook: Triggered right before deleting answer.