ap_find_duplicate_post()

Function: Find duplicate post by content.

ap_create_base_page()

Function: Create base page for AnsPress.

ap_ajax_responce()

Function: Format an array as valid AnsPress ajax response.

ap_sort_array_by_order()

Function: Sort array by order value. Group array which have same order number and then sort them.

is_question()

Function: Check if current page is question page.

get_question_id()

Function: Get current question ID in single question page.

is_anspress()

Function: Check if current page is AnsPress. Also check if showing question or answer page in BuddyPress.

AnsPress_Common_Pages::question_page()

Method: Output single question page.

ap_remove_stop_words_post_name()

Function: Remove stop words from post name if option is enabled.

ap_ask_form()

Function: Output new/edit question form.