Screenshot below says it all. I want to remove/hide this field from view so the user is unable to edit it. It comes from the User Role Editor plugin and I want to make the changes in functions.php in the child theme.

As far as I can tell the code that creates the option comes from plugin folder in ./includes/classes/user-other-roles.php.

I've tried taking the whole function and dropping it into the child theme functions.php and commenting out the 'select\_roles' line but that didn't work.

```
public function load_js($hook_suffix)  {

    if (!in_array($hook_suffix, array('user-edit.php', 'user-new.php'))) {
        return;
    }

    $select_primary_role = apply_filters('ure_users_select_primary_role', true);

    wp_enqueue_script('jquery-ui-dialog', '', array('jquery-ui-core', 'jquery-ui-button', 'jquery'));
    wp_register_script('ure-jquery-multiple-select', plugins_url('/js/jquery.multiple.select.js', URE_PLUGIN_FULL_PATH));
    wp_enqueue_script('ure-jquery-multiple-select');
    wp_register_script('ure-user-profile-other-roles', plugins_url('/js/user-profile-other-roles.js', URE_PLUGIN_FULL_PATH));
    wp_enqueue_script('ure-user-profile-other-roles');
    wp_localize_script('ure-user-profile-other-roles', 'ure_data_user_profile_other_roles', array(
        'wp_nonce' => wp_create_nonce('user-role-editor'),
        'other_roles' => esc_html__('Other Roles', 'user-role-editor'),
        'select_roles' => esc_html__('Select additional roles for this user', 'user-role-editor'),
        'select_primary_role' => ($select_primary_role || $this->lib->is_super_admin()) ? 1: 0
    ));
}

```

[![User Role Editor](https://i.stack.imgur.com/EQt5e.png)](https://i.stack.imgur.com/EQt5e.png)