WordPress plugins add parent menu option in admin main right
That’s because it’s a helper function for adding pages to the settings section, not the lower level API you expected: This function is a simple wrapper for a call to add_submenu_page(), passing the received arguments and specifying options-general.php as the $parent_slug argument. This means the new options page will be added as a sub menu … Read more