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

AnsPress_Hooks::edit_comment()

Method: Edit comment hook callback.

ap_allow_anonymous()

Function: Check if anonymous question posting is allowed.

ap_user_can_view_moderate_post()

Function: Check if user can view a moderate post.

ap_user_can_select_answer()

Function: Check if user can select an answer.