get_registered_nav_menus


get_registered_nav_menus ( No parameters )

Returns:
  • (string[]) Associative array of egistered navigation menu descriptions keyed by their location. If none are registered, an empty array.
Defined at:

Description

Retrieves all registered navigation menu locations in a theme.

Related Functions

register_nav_menus, register_nav_menu, unregister_nav_menu, get_registered_meta_keys, get_registered_theme_features

Top Google Results

User discussions

wpseek mobile