Is there a way to un register all submenus at once instead of using the code below?
remove_submenu_page('myplugin', 'sub-page-1');
remove_submenu_page('myplugin', 'sub-page-2');
remove_submenu_page('myplugin', 'sub-page-3');
remove_submenu_page('myplugin', 'sub-page-4');
remove_submenu_page('myplugin', 'sub-page-5');
...
...
The idea is...
remove_submenu_page('myplugin', all);???