Customize Client Admin dashboard

  1. Assign one user an “Editor” Role.
  2. Add capabilities “manage_options”, “list_users” and “delete users” using User Role Editor.
  3. Uninstall URE after making the changes. (the changes are permanent for this user)
  4. 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' );

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.