Session::set_question()

Method: Set a question id in session’s questions offset.

Session::set()

Method: Set offset in AnsPress session.

Session::get()

Method: Get an offset by from AnsPress session.

Session

Class: AnsPress session handler for managing custom session for logged in and non logged in users.

Form::save_values_session()

Method: Save current values to AnsPress session so that users unfinished question can be retrieved later.

AP_QA_Query_Hooks::pre_get_posts()

Method: Include all post status in single question so that we can show custom messages.

AP_Form_Hooks::submit_answer_form()

Method: Process question form submission.

AP_Form_Hooks::submit_question_form()

Method: Process question form submission.

AP_Form_Hooks::question_form()

Method: Register question form.

ap_main_pages

Filter Hook: Hook for filtering main pages of AnsPress. Custom main pages can be registered using this hook.