File: bp-forums/users/capabilities.php |
Description |
---|---|
bbp_is_valid_role() |
Check if a role ID is valid |
bbp_is_user_deleted() |
Checks if the user has been marked as deleted. |
bbp_is_user_active() |
Checks if user is active |
bbp_is_user_inactive() |
Checks if user is not active. |
bbp_is_user_keymaster() |
Checks if user is a keymaster |
bbp_user_has_profile() |
Does a user have a profile for the current site |
bbp_get_user_role_map() |
Return a map of WordPress roles to Forums roles. Used to automatically grant appropriate Forums roles to WordPress users that wouldn’t already have a role in the forums. Also guarantees WordPress admins get the Keymaster role. |
bbp_is_user_spammer() |
Checks if the user has been marked as a spammer. |
bbp_make_spam_user() |
Mark a users topics and replies as spam when the user is marked as spam |
bbp_make_ham_user() |
Mark a users topics and replies as spam when the user is marked as spam |