Namespaces: global |
Description |
|---|---|
| bbp_restore_caps_from_wp_roles() |
Restore forum capabilities from WP roles |
| bbp_filter_blog_editable_roles() |
Removes the Forums roles from the editable roles array |
| bbp_get_keymaster_role() |
The keymaster role for Forums users |
| bbp_get_moderator_role() |
The moderator role for Forums users |
| bbp_get_participant_role() |
The participant role for registered user that can participate in forums |
| bbp_get_spectator_role() |
The spectator role is for registered users without any capabilities |
| bbp_get_blocked_role() |
The blocked role is for registered users that cannot spectate or participate |
| bbp_add_roles() |
Adds Forums-specific user roles. |
| _bbp_reinit_dynamic_roles() |
This is necessary because in a few places (noted below) WordPress initializes a blog’s roles directly from the database option. When this happens, the $wp_roles global gets flushed, causing a user to magically lose any dynamically assigned roles or capabilities when $current_user in refreshed. |
| bbp_get_dynamic_roles() |
Fetch a filtered list of forum roles that the current user is allowed to have. |