I want to change the priority of the menus I have created in the nav_menus panel in the WordPress customizer.
I have tried all sorts of variations to:
$wp_customize->get_panel( 'nav_menus' )->priority = 1;
Nothing works. It seems nav_menus isn't inside the class-wp-customize-manager.php document which is why I think it doesn't work. Is there another way to access the nav_menus panel and all the menus inside that panel?