wp_nav_menu


wp_nav_menu ( $args = array() )

Parameters:
  • (array) $args { Optional. Array of nav menu arguments.
Returns:
  • (string|false|void) Menu output if $echo is false, false if there are no items or no menu was found.
Defined at:
Change Log:
  • 4: .

Description

Displays a navigation menu.

Related Functions

is_nav_menu, wp_get_nav_menus, wp_nav_menu_setup, has_nav_menu, wp_page_menu

Top Google Results

User discussions

wpseek mobile