AnsPress_Hooks::new_subscriber()

Method: Update qameta subscribers count on adding new subscriber.

AnsPress_Hooks::new_comment_approve()

Method: Used to create an action when comment publishes.

ap_publish_comment

Action Hook: Action is triggered when a anspress comment is published.

AnsPress_Hooks::comment_approve()

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

AnsPress_Hooks::comment_unapprove()

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

AnsPress_Hooks::comment_trash()

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

AnsPress_Hooks::before_delete()

Method: This callback handles pre delete question actions.

ap_before_delete_question

Action Hook: Action triggered before deleting a question form database.

AnsPress_Hooks::delete_answer()

Method: Delete answer.

AnsPress_Hooks::publish_comment()

Method: Actions to run after posting a comment