• Hey all, I’m currently bodging together a widget to display menus from other sites on a multisite network in a widget area on a different site.

    Apparently switch_to_blog() does nothing for get_registered_nav_menus() and even if it did, they’d have to be in registered nav areas in the theme for some reason?
    That doesn’t help me, so I have to build out the menus by hand from the database.

    I’ve found the menu names are stored in wp_terms and some of the items seem to be in wp_postmeta. My question is, from the backend forward how do I go about building out menus from the database?

  • The topic ‘Understanding Custom Menus in the database.’ is closed to new replies.