Cómo ocultar submenú administrador WordPress

add_action("admin_menu", function(){
    remove_submenu_page( 'themes.php', 'themes.php' );
    remove_submenu_page( 'themes.php', 'nav-menus.php' );
    remove_submenu_page( 'themes.php', 'theme-editor.php' );
});
Indonesia People