AnsPress_Hooks::comment_trash()

Method: Used to create an action when comment get trashed.

AnsPress_Hooks::publish_comment()

Method: Actions to run after posting a comment

AnsPress_Hooks

Class: Register common anspress hooks

AnsPress_Hooks::after_new_answer()

Method: Things to do after creating an answer

ap_after_new_answer

Action Hook: Action triggered after inserting an answer

ap_after_new_question

Action Hook: Action triggered after inserting a question

AnsPress_Hooks::add_ap_tables()

Method: Add AnsPress tables in $wpdb.

AnsPress_Hooks::after_new_question()

Method: Things to do after creating a question

AnsPress_Hooks::init()

Method: Initialize the class