Delete a navigation menu
delete_menuDelete a navigation menu and all its items in WordPress; theme locations fall back to defaults. Confirmation required.
Instructions
Delete a navigation menu and all of its items. Any theme location it filled falls back to the theme's default output. Requires confirm: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The menu ID to delete. | |
| confirm | No | Required — menus and their items cannot be recovered. | |
| site_id | No | Which configured WordPress site to act on. Optional — with a single site configured it is used automatically; with several, the default site is used unless you name one. Run list_sites for valid ids. |