show different admin menu to different user roles
The menu items are bound to capabilities. A good overview can be found here. For example, if you do not have the capability edit_posts the menu item “Posts” would not show up. How are menu items bound to capabilites. Generally speaking: If you register a menu item using add_menu_page() or add_submenu_page() you have to assign … Read more