Filter Hook: Filter to hijack ap_user_can_toggle_featured.
Class: AnsPress user role helper
Method: Initialize the class
Method: Add roles and cap, called on plugin activation
Method: Add new capabilities
Function: Check if user can upload an image.
Function: Check if a user can read answer.
Function: Check if a user can read question.
Filter Hook: Allow overriding of ap_user_can_read_post.
Function: Check if a user can read post.