Adding two submenus to a menu
Hope you’ll find this well , I’m adding the code below. This is one of the way of doing it, you can do things in other ways also. add_action(‘admin_menu’,’create_admin_menu’); function create_admin_menu() { add_menu_page ( ‘Page Title’, ‘Top level menu Title’, ‘manage_options’, ‘your_unique_slug’, ‘your_magic_function’ ); function your_magic_function() { include_once(‘first.php’); } add_submenu_page ( ‘your_unique_slug’, ”, ”, ‘manage_options’, … Read more