I just got into the database after trying this myself, so beware of inaccuracies. I’m also assuming the database-prefix is wp_
.
What I found was that a refrence to the menu itself is stored in both wp_terms
and wp_term_taxonomy
. The one in term_taxonomy
also stores the number of elements in the menu.
The relationships between menu items and posts are stored in wp_term_relationships
as refrences to post_id’s and taxonomy_id’s. I hope this was somewhat helpful.
Related Posts:
- add_menu_page() with different name for first submenu item
- Creating a table in the admin-style?
- body_class hook for admin pages
- How to add sub-menu to a menu generated by wp_nav_menu by using plugin
- Change the_title() of a page dynamically
- Change admin language based on user (in single-site)
- How do I programatically insert a new menu item?
- What is the real intention for admin-post.php?
- Add Dividers or Separators Between Nav Menu Items
- Add section (add_settings_section) to a custom page (add_submenu_page)
- Admin config screen without menu
- Make Categories and Tags required in admin
- Nav Menu meta failing to import
- How to add HTML / Form to an Admin Bar Menu
- Overwriting Core WordPress Functions with Plugins
- Some nav-menu filters do nothing
- Determine which theme location a wp_get_nav_menu_items is for
- Error with Custom Admin Screen in iframe Thickbox
- why don’t I get error messages in admin when developing?
- Can I add pages to my custom menu via script?
- Replacing WordPress menu functionality with a plugin
- Hook event for upload image in the menu
- Why isn’t the Settings API designed to work for plugins using custom admin menus? [duplicate]
- JS / JQuery form validation in backend admin menus
- How to put placeholder text in the main post input area?
- What is the difference between current_page_parent and current_page_ancestor?
- Is it possible to modify the media library admin screen?
- Delete a specific item menu when I deactivate my plugin
- Create a Page via plugin
- Add Submenu Link in add_submenu_page That Opens in a New Window
- How to assign a WP 3.0 custom nav menu to a theme’s navigation menu location via script?
- Get user id for delete and update selected user
- Header Button Chance Polylang Elementor
- Add tab to profile.php wordpress plugin development
- WordPress Ajax callback function from plugin – OOP
- PHP 7 – Class Method Compatibility Issue
- How to add pages to custom menus on the fly [duplicate]
- Add notification bubble notice in navigation using transients
- Admin auto-refresh is interfering with Firebug — how to prevent it?
- Including a JS source with an admin page
- WordPress not working on localhost
- maintaing consistent layout wordpress dashboard
- Add column and post filter for a custom post type field on the edit.php page
- Get Current Menu Location inside Nav_Walker
- Is there no admin ui guide for 4.x?
- Adding custom fields to WordPress nav menus
- Sub Menu content is being duplicated
- Correct check for any admin page with editor
- Adding (blog-specific) links to “My Sites” admin page
- Plugin menu addition in multisite
- Change the look and feel of admin pages
- Admin Plugin POST to another file within the plugin
- Remove unwanted elements for a wp_nav_menu
- Is this best practice for Dynamically adding items to WordPress menus?
- Admin – Handle data before creating or updating a post, page or custom post
- How to remove or add submenu item on plugin activate or deactive
- How can I replace content in the WP Admin area before an admin page is rendered?
- Add a page in admin without adding menu item
- Including comments meta box on a plugin page
- Custom code for WordPress dynamic menu
- How do I access the menus produced by Dashboard > Appearance > Menus
- How to Move the Comments Bubble to the Right Side of the Toolbar
- Use ‘get’ form action within a WordPress plugin admin page
- wordpress add_submenu_page adds broken link
- WP Enqueue style on all plug-in pages
- Add child pages to submenu automatically
- Customize existing menu item
- Menu page with minimum capability as ‘Subscriber’ doesn’t allow ‘Admin’ to access it?
- Does is_admin() really provide a plugin performance improvement?
- Issue with plugin sub menu and pages
- How to add Plugin functionality in WordPress Frontend Menus
- Disable Auto-Expanding Menu in WordPress Admin Menus
- Best practice for plugin: always detect admin-ajax call?
- Plugin Development – Get Admin Url (Including cases where wp-admin is not used)
- How to hide page links from theme menu
- WP_NAV_MENU filter targets all menus
- How do I add a menu item to a Pods admin menu?
- Proper way to create an administration page without adding it to the menu
- using admin functions on frontend
- Add user managable titles to custom menus?
- How to create archive page to add in menu
- How to show only the last two categories in a menu?
- Google Web Core Vitals – management, how to in wordpress and advice
- Add two button to page and post admin to redirect to : add new & list of (posts – pages) just after saving post or page
- Always hide a page from the menu
- How to create plugin settings page for each admin user?
- remove different admin menu for specific users
- How to get an array out of a nav menu if it’s a plugin?
- How to return a blank page
- Adding admin for specific users
- How do I control the list of Pages an author can see?
- Plugin admin list pages as submenu
- Create and style menu
- Change the class of wordpress menu
- modify buddpress adminbar only in admin pages
- Invalid Menu Items
- Declaration of mandoe_menu_walker::start_el(&$output, $item, $depth, $args) must be compatible with Walker::start_el(…)
- Custom Nav Walker $item->url producing malformed hyperlinks
- Displaying an Uploaded Image as a Custom Avatar in WordPress
- Adding a navigation with wp_nav_menu() to a custom block in the site editor