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_blog_role() |
Return a user’s blog role |
bbp_profile_update_role() |
Helper function hooked to ‘bbp_profile_update’ action to save or update user roles and capabilities. |
bbp_set_current_user_default_role() |
Add the default role to the current user if needed |
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. |