bbp_user_display_role( int $user_id )
Output a user’s main role for display
Description
Parameters
- $user_id
-
(Required)
Source
File: bp-forums/users/template.php
function bbp_user_display_role( $user_id = 0 ) { echo bbp_get_user_display_role( $user_id ); }
Changelog
Version | Description |
---|---|
bbPress (r3860) | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.