How to avoid creating first submenu page that is same as manu page?

I’ve created menu page and four submenu pages. public function onixion_admin_menu_option() { add_menu_page(‘onixion’,’Onixion’,’manage_options’,’onixion-admin- menu’,array(&$this, ‘onixion_main_page’ ),’dashicons-chart- area’,’200′); add_submenu_page( ‘onixion-admin-menu’, ‘scripts’,…

How to avoid creating first submenu page that is same as menu page?

I’ve created menu page and four submenu pages. public function onixion_admin_menu_option() { add_menu_page(‘onixion’,’Onixion’,’manage_options’,’onixion-admin- menu’,array(&$this, ‘onixion_main_page’ ),’dashicons-chart- area’,’200′); add_submenu_page( ‘onixion-admin-menu’, ‘scripts’,…