bricks_create_menu
Create a new WordPress navigation menu and assign it to theme locations. Returns the new menu ID.
Instructions
Create a new WordPress navigation menu. Returns the new menu ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Menu name (e.g. "Main Navigation", "Footer Menu") | |
| locations | No | Theme locations to assign (e.g. ["primary", "footer"]). Use bricks_get_menus to see available locations. |