wp_get_nav_menus


wp_get_nav_menus ( $args = array() )

Parameters:
  • (array) args Optional. Array of arguments passed on to get_terms(). Default empty array.
Returns:
  • (WP_Term[]) An array of menu objects.
Defined at:
Change Log:
  • 4: .

Description

Returns all navigation menu objects.

Related Functions

wp_get_nav_menu_items, wp_get_nav_menu_name, wp_create_nav_menu, wp_delete_nav_menu, wp_nav_menu

Top Google Results

User discussions

wpseek mobile