get_registered_nav_menus


get_registered_nav_menus ( No parameters )

Returns:
  • (array) Registered navigation menu locations. 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_metadata

Top Google Results

User discussions

wpseek mobile