My theme currently uses add_menu_page() in order to display the theme options sections on the left hand admin menu.
I would like to be able to attach a parent css class to the main menu item in order to selectively show/hide the menus for advanced users.
I don't see this documented in the codex so I'm asking here to find out if there is a workaround or undocumented feature that I can utilize.
Any help, much appreciated.
The basic idea is that I have one main menu item and about 8 submenu items. Currently, all the menu items are displayed in the menu. I would like to use custom css to toggle the visibility of the submenu items, however, there is currently no custom id or class that I can use to target my menus.