File: bp-forums/users/capabilities.php |
Description |
---|---|
bbp_set_user_role() |
Return a user’s main role |
bbp_get_user_role() |
Return a user’s forums role |
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_map_primary_meta_caps() |
Maps primary capabilities |