This PHP code enables you to replace the firstname.lastname@example.org address with the registered email address of a specific user and remove the menu links they don’t need access to for the moment.
The very last line of code in the Gist includes the action to remove access to all the Genesis theme framework settings if you’re using this great design framework.
Please copy ALL the code from the view raw link and paste it at the end of your child themes functions.php file using a text editor like Notepad++
And here’s the before and after results.
Remove Plugins Admin Menu
Here’s an example of how to remove the menu link for Jetpack for specific users.
Prefer a Plugin?
There’s many good plugins which enable you to do the same thing like Advanced Access Manager.