Forums
-
- Forum
- Posts
-
- Installation
- 28,528
- Troubleshooting
- 62,957
- Themes
- 10,453
- Plugins
- 15,405
- Requests & Feedback
- 15,045
- Showcase
- 3,250
-
Thanks Zearl, need to modify your code slightly to get it to work:
Had to remove ‘$user_role’
function my_custom_roles( $role, $user_id ) {
if( $role == ‘Key Master’ )
return ‘Site Owner’;
return $role;
}
add_filter( ‘bbp_get_user_display_role’, ‘my_custom_roles’, 10, 3 );