Change the default Role Name in WordPress

Super Admin, Administrator, Editor, AuthorContributor and Subscriber are the six pre-defined roles in WordPress. Each role has got their own role/capabilities. You may want to change the default role name in WordPress. However, you can customize the names of those roles in WordPress. You can change the default role name in WordPress site using a simple trick.

Change the default Role Name in WordPress

Change the default Role Name in WordPress

Just add the following Snippet in your active theme’s functions.php file

function custom_role_name() {
global $wp_roles;
if ( ! isset( $wp_roles ) )
    $wp_roles = new WP_Roles();
    $wp_roles->roles['subscriber']['name'] = 'Member';
    $wp_roles->role_names['subscriber'] = 'Member';
}
add_action('init', 'custom_role_name');

This snippet will change your default Subscriber role text to Member.