Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Custom bbPress role names
function my_custom_roles( $role, $user_id, $user_role ) {
if( $role == 'Key Master' )
return 'Site Owner';
return $role;
}
add_filter( 'bbp_get_user_display_role', 'my_custom_roles', 10, 3 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.