Hiding an added admin page menu using css
WordPress already takes care of that for you. The third argument in your add_menu_page function, which reads edit_themes is the capability required to access the page. If the user doesn’t have that capability he can’t access the page, so WordPress won’t show him that option on the menu. Clever, no? Now, from the code you … Read more