AnsPress_Ajax::permanent_delete_post()

Method: Handle Ajax callback for permanent delete of post.

ap_wp_trash_answer

Action Hook: Triggered right before deleting answer.

AnsPress_Ajax::close_question()

Method: Close question callback.

AnsPress_Ajax::toggle_featured()

Method: Handle toggle featured question ajax callback

ap_wp_trash_question

Action Hook: Triggered right before deleting question.

AnsPress_Ajax::send()

Method: Send JSON response and terminate.

AnsPress_Ajax::toggle_delete_post()

Method: Process ajax trash posts callback.

AnsPress_Ajax::suggest_similar_questions()

Method: Show similar questions while asking a question.

AnsPress_Ajax::init()

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

AnsPress_Ajax

Class: Register all ajax callback