Need help? Check out our Support site, then


How to add custome sub menu in admin side

  1. 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.

  2. You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for WordPress.com hosted blogs only. If you have a self-hosted WordPress blog you need to seek help at the WordPress.org forums, not here.

    If you don't understand the difference, you may find this information helpful.

  3. Thanks for your suggestion

Topic Closed

This topic has been closed to new replies.

About this Topic