I guess this question is more or less about aesthetics and organization rather than functionality, but I’m curious nonetheless…
I know I can add a custom menu item in the dashboard for my plugin using the add_menu_page()
function, but my question is: Is it possible to add a “master” menu item with “sub-menu” items which would correlate to individual plugin options pages?
In other words, let’s say my company name is “Guru Guy” and I have released 4 different plugins… Would it be possible to create a menu item that looked something like this:
Guru Guy <– Main menu item
— Plugin 1 <– Plugin 1’s options page link
— Plugin 2 <– Plugin 2’s options page link
— Plugin 3 <– Plugin 3’s options page link
— Plugin 4 <– Plugin 4’s options page link
Yes,
http://codex.wordpress.org/Administration_Menus
Specific to your question
add_submenu_page
: http://codex.wordpress.org/Function_Reference/add_submenu_page