AnsPress_Hooks::untrash_posts()

Method: If questions is restored then restore its answers too.

ap_after_question_content

Action Hook: Action triggered after question content.

ap_before_question_content

Action Hook: Action triggered before question content.

ap_page()

Function: Output current AnsPress page.

ap_have_parent_post()

Function: Check if question have a parent post.

is_post_closed()

Function: Check if question is closed.

ap_post_status()

Function: Get post status.

ap_total_posts_count()

Function: Return the total numbers of post.

ap_sort_array_by_order()

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

ap_current_page_url()

Function: Return the current page url.