wp_list_menus
List navigation menus for a WordPress site, returning menu IDs, names, slugs, and theme locations to reference when adding menu items.
Instructions
List a site's navigation menus (id, name, slug, theme locations).
Read-only. Start here: the id or exact name/slug it returns is what you pass as
menu to wp_add_menu_item. Menu items are not fetched. Requires the REST
transport (the wpcli/SSH gateway has no menu support).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| install | Yes |