get_nav_menu_locations


get_nav_menu_locations ( No parameters )

Returns:
  • (array) Registered navigation menu locations and the menus assigned them. If none are registered, an empty array.
Defined at:

Description

Retrieves all registered navigation menu locations and the menus assigned to them.

Related Functions

wp_map_nav_menu_locations, wp_nav_menu_locations_meta_box, wp_get_nav_menu_object, wp_get_nav_menu_items, wp_ajax_menu_locations_save

Top Google Results

User discussions

wpseek mobile