ap_user_can_toggle_featured

Filter Hook: Filter to hijack ap_user_can_toggle_featured.

AP_Roles

Class: AnsPress user role helper

AP_Roles::__construct()

Method: Initialize the class

AP_Roles::add_roles()

Method: Add roles and cap, called on plugin activation

AP_Roles::add_capabilities()

Method: Add new capabilities

ap_user_can_upload()

Function: Check if user can upload an image.

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.