How to remove duplicate link from add_menu_page
There is a workaround to hide this automatically created submenu. In the past I’ve used it quite often, but lately I have returned to leaving it as is (or renaming it, as m0r7if3r suggested). Also note, that aside your main question, you have switched the positions of the menu_slug and function arguments in add_menu_page, see … Read more