I want a network of sites in a multisite install to automatically have certain items in the main menu when the user first uses the site.
This seems surprisingly hard to do, and the new REST API doesn't provide ways to interact with menus.
So instead I've created a simple plugin, which creates a menu if it doesn't exist, and adds various items to it.
I now want to make sure that that menu is activated and visible in the primary menu when people come to the site.
I currently can't see a function that activates the menu in a specified location.
Any suggestions how to do it?