Skip to content

Instantly share code, notes, and snippets.

@benklocek benklocek/functions.php forked from zaerl/functions.php
Last active Mar 22, 2016

What would you like to do?
Custom bbPress role names
function my_custom_roles( $role, $user_id ) {
if( $role == 'Keymaster' )
return 'Site Owner';
return $role;
add_filter( 'bbp_get_user_display_role', 'my_custom_roles', 10, 2 );
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.