bbp_get_dynamic_role_name
bbp_get_dynamic_role_name
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_dynamic_role_name') is found 1 times:
- /includes/core/capabilities.php line 396
? bbp_translate_user_role( $roles[ $role_id ]['name'] ) : ''; // Filter & return return apply_filters( 'bbp_get_dynamic_role_name', $role, $role_id, $roles ); } /** * Removes the bbPress roles from the editable roles array * * This used to use array_diff_assoc() but it randomly broke before 2.2 release.