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::update_user_vote_casted_count()

Method: Update user meta of vote

AnsPress_Hooks::base_page_update()

Method: Flush rewrite rule if base page is updated.

AnsPress_Hooks::safe_style_css()

Method: Allowed CSS attributes for post_content

AnsPress_Hooks::sanitize_description()

Method: Sanitize post description

AnsPress_Hooks::wp_insert_post_data()

Method: Filter post so that anonymous author should not be replaced by current user approving post.

AnsPress_Hooks::flush_rules()

Method: Check if flushing rewrite rule is needed

AnsPress_Hooks::fix_nav_current_class()

Method: Add current-menu-item class in AnsPress pages

AnsPress_Hooks::comment_approve()

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