wp menu item list <menu>
Gets a list of items associated with a menu
Arguments
| Name | Description |
|---|---|
menu | The name, slug, or term ID for the menu |
Options
| Name | Description |
|---|---|
--fields <fields> | Limit the output to specific object fields |
--format <format> | Render output in a particular format |