Namespaces: global
Description
bbp_get_dynamic_role_name()

Gets a translated role name from a role ID

Source: bp-forums/core/capabilities.php:429

bbp_make_current_user_keymaster()

Hooked to the ‘bbp_activate’ action, this helper function automatically makes the current user a Key Master in the forums if they just activated Forums, regardless of the bbp_allow_global_access() setting.

Source: bp-forums/core/update.php:321

bbp_get_caps_for_role()

Returns an array of capabilities based on the role that is being requested.

Source: bp-forums/core/capabilities.php:30

bbp_add_caps()

Adds capabilities to WordPress user roles.

Source: bp-forums/core/capabilities.php:215

bbp_remove_caps()

Removes capabilities from WordPress user roles.

Source: bp-forums/core/capabilities.php:232

bbp_get_wp_roles()

Get the $wp_roles global without needing to declare it everywhere

Source: bp-forums/core/capabilities.php:252

bbp_get_blog_roles()

Get the available roles minus Forums’ dynamic roles

Source: bp-forums/core/capabilities.php:271

bbp_add_forums_roles()

Add the Forums roles to the $wp_roles global.

Source: bp-forums/core/capabilities.php:301

bbp_filter_user_roles_option()

Helper function to add filter to option_wp_user_roles

Source: bp-forums/core/capabilities.php:328

bbp_is_update()

Compare the Forums version to the DB version to determine if updating

Source: bp-forums/core/update.php:34