vip-scanner icon indicating copy to clipboard operation
vip-scanner copied to clipboard

Check for a `primary` nav_menu location

Open ehg opened this issue 9 years ago • 0 comments

In order for us to build tools that can manage a site/theme's menus, we need to know what the 'primary' location is for the theme - in a predictable manner.

Currently, the convention seems to be to register the 'primary' location first, and/or to have the name 'primary'.

Maybe we could check that a theme always registers a location named 'primary'?

ehg avatar May 08 '15 09:05 ehg