bbp_get_user_role_map
bbp_get_user_role_map
Appears in: bbpress.2.5.14, bbpress.2.6.0, bbpress.2.6.1, bbpress.2.6.11, bbpress.2.6.2, bbpress.2.6.3, bbpress.2.6.4, bbpress.2.6.5, bbpress.2.6.6, bbpress.2.6.9
Hook Type: filter
Displaying hooks found in version: bbpress.2.6.9apply_filters('bbp_get_user_role_map') is found 1 times:
- /includes/users/capabilities.php line 432
// Get the default role once here $default_role = bbp_get_default_role(); // Filter & return return (array) apply_filters( 'bbp_get_user_role_map', array( 'administrator' => bbp_get_keymaster_role(), 'editor' => $default_role, 'author' => $default_role, 'contributor' => $default_role, 'subscriber' => $default_role ) );