AnsPress_Hooks::fix_nav_current_class()

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

AnsPress_Hooks::flush_rules()

Method: Check if flushing rewrite rule is needed

AnsPress_Hooks::editor_buttons()

Method: Configure which button will appear in wp_editor

AnsPress_Hooks::wp_insert_post_data()

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

AnsPress_Hooks::sanitize_description()

Method: Sanitize post description

AnsPress_Hooks::safe_style_css()

Method: Allowed CSS attributes for post_content

AnsPress_Hooks::base_page_update()

Method: Flush rewrite rule if base page is updated.

AnsPress_Hooks::question_answer_hooks()

Method: Trigger AnsPress posts hooks right after inserting question/answer

ap_processed_update_{$post->post_type}

Action Hook: Action triggered right after updating question/answer.

ap_processed_new_{$post->post_type}

Action Hook: Action triggered right after inserting new question/answer.