File: bp-forums/users/capabilities.php |
Description |
---|---|
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. |
bbp_is_user_spammer() |
Checks if the user has been marked as a spammer. |
bbp_map_primary_meta_caps() |
Maps primary capabilities |