Remove Wordpress menus for specific users

It's not that difficult to remove Wordpress menus and not much more effort to allow only certain menus for certain users, regardless of role.

The following unsets menu options when the user ID matches 1. This allows you to still grant 'Administrator' privilages to clients but prevent them from accessing certain menu items that might contain options that break the site if changed.

Copy the following into your functions.php file and delete where necessary. Uncomment lines 9-12 to print the options at the top of the Wordpress dashboard.

It might be the case that you only need to rename certain menu options to bring them inline with the site's content and to make the interface more intuitive.

Copy and paste the following into your functions.php and -- using the same principles above to determine the desired menu option -- change any menu option to whatever you like. The example changes 'posts' to 'news'.

You could even rename menus for a specific user.