As the menu Items are stored as a post type. Not sure but I think we can use wp_delete_post()
to programmatically remove it. That will completely remove the menu item from database, So you cant ever have that menu item again.
Related Posts:
- Programmatically add a Navigation menu and menu items
- Convert output of nav_menu items into a tree-like multidimensional array
- Building custom API and using wp_get_nav_menu_items to get menu items. Only works when logged in, returns nothing when I’m not
- API for wp menu hacks
- Programmatically add a Navigation menu and menu items
- Split up wp_nav_menu with custom walker
- WordPress Menu Custom Walker Class
- How to change order of menu items
- How to use a WordPress’ existing admin icon?
- Add Commas Between Menu Items?
- Allow html tags in WordPress Custom Menus Description Field
- Add custom attribute to menu item link using Filter
- Show child pages by menu order using Superfish Dropdown menu?
- Bootstrap drop down menu with wp_nav_menu
- Remove nav menu or menu item
- One site, 2 distinct sections: two different top nav menus?
- Can you have different menus and theme on a per-page basis?
- Adding a within ‘s from wp_nav_menu()
- Customizing a walker menu class
- How to add ID and class in nav menu walker?
- Set Item Order with wp_nav_menu_{$menu->slug}_items
- Add “parent” class to parent menu items
- Add class to active element and its parent in nav menu
- Handling complex multi-level architecture / menu for large site
- Add custom text to menu
- Menu styling for last menu item
- Must a page be published in order to be added to menu?
- Hiding Admin Page While Keeping Menu Expanded
- Third level navigation class
- Best way to customise wp_nav_menu [duplicate]
- Prev / Next menu item
- add span class and i tag inside wp_nav_menu link anchor tag
- Hide sub menus sometimes
- is_page() not working with archives?
- How to Overwrite/Customize wp-admin/nav-menus.php in WordPress
- Filter for Admin Nav Menus Drop Down
- Add a class at specific element in custom Menu Walker
- wp_list_pages() but only show children on the branch you are on
- Jupiter theme Mega menu option not available
- Sub Menu does not display using Nav Walker
- How to add ul and li classes to nav in wordpress
- Cant add menu items with my theme
- Why aren’t my post showing under my custom menu?
- Responsive menu gone on wordpress Responsive theme
- Dynamically add sub menu items
- How can I add text to a single nav menu item?
- Alternative to wp_get_nav_menu_items?
- remove class “sub-menu” from wordpress drop down menu
- Walker menu not displaying at all
- Twenty seventeen Menu is not responsive not clickble
- remove menu items if user can’t read
- How to set classname for tag in wordpress menu?
- rearrange the posts by published date in Menu posts selection
- Setting color of specific menu items depending on page or post tag
- Limit wp_nav_menu_objects() only to first-level menu items
- wp_get_archives doesn’t take effect from css or html
- Orderby menu_order not working; menu is sorted on publish date
- Hide an item from a menu to some users
- Locking in navigation labels before changing title?
- Change Menu Button Text [closed]
- wp_nav_menu_items for one menu
- Menu page with three columns
- I can’t add more pages to menu – menu delete pages
- Confused about the correct functioning on WordPress Menus
- Admin Menu Hack (Left side in Dashboard)
- How to open a lightbox form from a navigation menu item
- How to manipulate attributes of url-less dropdown item in a the custom wordpress menu?
- How do I remove this menu bar?
- Hide custom menu when when no menu selected
- nav-menu-template and columns in sub menu
- Auto delete menu items with zero products (woocommerce)
- Why is my navigation in my onepage not working?
- Admin menu in different languages
- Navigation item – current date in url
- Edited one page in my working menu and now all menu buttons don’t open unless I right-click and open in new tab
- Need help with Walker_Nav_Menu class
- Impossible to remove page from menu
- why are my walker menu is showing like this?
- Bootstrap Theme Migrated to WordPress
- Menu with sub-items but without link
- Bootstrap Nav Walker Sub Menu Image
- What are some of your favorite methods for creating an accessible menu?
- Creating navigation out of specific IDs and their children?
- I can´t make the menu unclickable in an easy way
- Add active class to wp_nav_menu
- How to get all the menu listed in Menus Created inside the Apperance Menu?
- how to configure this type of menu
- Migrate WP Menu between sites
- Add parent link to its submenu
- Can’t change link for navigation item
- How to style wp_nav_menu?
- Show Child of Parent Page including all other parents
- Show only second level menu items? [duplicate]
- Add item ONLY to the primairy navigation
- wp_nav_menu in 3.7 add name class nav navbar-nav
- individual images as navigation design TwentyTen
- Is there a limit to number of pages displayed for selection in custom menu?
- Add monthly archives menu and submenu
- wp nav menu – highlighting current page not working properly [closed]
- Hamburger Navigation Menu