Method: Add roles and cap, called on plugin activation
Method: Add new capabilities
Method: Remove an AnsPress role
Class: AnsPress form validation class.
Function: Check if current user can change post status i.e. private_post, moderate, closed.
Filter Hook: Filter to hijack ap_user_can_change_status.
Function: Check if user can change post status to closed.
Function: Check if user can change post status to moderate.
Function: Check if user can upload an image.
Function: Check if user can delete an attachment.