bbp_get_dynamic_role_name

bbp_get_dynamic_role_name

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_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.