ap_enqueue_scripts()

Function: Enqueue AnsPress assets.

ap_user_can_vote_on_post

Filter Hook: Filter to hijack ap_user_can_vote_on_post.

ap_user_can_vote_on_post()

Function: Check if user is allowed to cast a vote on post.

ap_user_can_read_answer()

Function: Check if a user can read answer.

ap_user_can_read_question()

Function: Check if a user can read question.

ap_user_can_read_post

Filter Hook: Allow overriding of ap_user_can_read_post.

ap_user_can_read_post()

Function: Check if a user can read post.

ap_role_caps()

Function: Get AnsPress role capabilities by role key.

ap_user_can_change_status

Filter Hook: Filter to hijack ap_user_can_change_status.

ap_user_can_delete_post

Filter Hook: Filter to hijack ap_user_can_delete_post.