How to add custome sub menu in admin side

  • Author
    Posts
  • #372231

    rajfrechris
    Member

    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.

    #372350

    sambauers
    Member

    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.

    #372351

    rajfrechris
    Member

    Thanks for your suggestion

The topic ‘How to add custome sub menu in admin side’ is closed to new replies.