ap_user_can_read_comment()

Function: Check if a user can read a comment.

ap_user_can_read_comment

Filter Hook: Filter to hijack ap_user_can_read_comment.

ap_user_can_read_comments()

Function: Check if a user can read a comments.

ap_user_can_read_comments

Filter Hook: Filter to hijack ap_user_can_read_comments.

ap_user_can_toggle_featured

Filter Hook: Filter to hijack ap_user_can_toggle_featured.

ap_user_can_vote_on_post()

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

ap_user_can_vote_on_post

Filter Hook: Filter to hijack ap_user_can_vote_on_post.

AP_Roles::remove_roles()

Method: Remove an AnsPress role

AP_Roles::__construct()

Method: Initialize the class

AP_Roles::add_roles()

Method: Add roles and cap, called on plugin activation