_bbp_reinit_dynamic_roles()

Function: 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.

Source: includes/core/capabilities.php:340

Used by 0 functions | Uses 0 functions