- Assign one user an “Editor” Role.
- Add capabilities “manage_options”, “list_users” and “delete users” using User Role Editor.
- Uninstall URE after making the changes. (the changes are permanent for this user)
- Add following to functions.php
// Remove some menus from Client Admin's Dashboard
function remove_menus(){
if (current_user_can('manage_options') && !current_user_can('update_core')) {
remove_menu_page( 'options-general.php' ); //Settings
remove_menu_page( 'edit.php?post_type=ia_invites'); //Buddypress Invitations
remove_menu_page ( 'tools.php' );
}
}
add_action( 'admin_menu', 'remove_menus' );
Like this:
Like Loading...