ap_main_pages_id()

Function: Return post IDs of main pages.

ap_comment_form()

Function: Generate comment form.

ap_ajax_tinymce_assets()

Function: Include tinymce assets.

ap_main_pages()

Function: All pages required of AnsPress.

ap_to_dot_notation()

Function: Convert array notation (string, not real array) to dot notation.

ap_set_in_array()

Function: Set key => value in an array.

ap_get_addon()

Function: Return a single addon by file path.

ap_user_can_read_comment()

Function: Check if a user can read a comment.

ap_user_can_read_comments()

Function: Check if a user can read a comments.

ap_rand()

Function: Utility function for getting random values with weighting.