menu-locations

An associative array of menu locations to register.

Usage

KeyTypeRequiredDefault
"menu-locations"arrayNo[]

The key of the item will act as the identifier (like a slug) and the value will be the descriptive text.

Example

config.php
return [
"menu-locations" => [
"main-nav" => "Main Navigation",
"footer-nav" => "Footer Navigation",
],
]
Registering two custom menu locations