How to add custome sub menu in admin side
-
Hi,
I have added Main menu in admin side. i used the following code.add_action(‘admin_menu’, ‘my_plugin_menu’);
function my_plugin_menu() {
add_menu_page(‘Top Heading Menu’, ‘Own Heading’, 8, ‘own-heading’, ‘own_heading’);
}I need to add sub menu under this main menu. Help would be appreciated. Please help me to figure this out.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to add custome sub menu in admin side’ is closed to new replies.