walk_nav_menu_tree


walk_nav_menu_tree ( $items, $depth, $args )

Parameters:
  • (array) items The menu items, sorted by each menu item's menu order.
  • (int) depth Depth of the item in reference to parents.
  • (stdClass) args An object containing wp_nav_menu() arguments.
Uses:
  • Walker_Nav_Menu
Returns:
  • (string) The HTML list content for the menu items.
Defined at:

Description

Retrieves the HTML list content for nav menu items.

Related Functions

walk_page_tree, is_nav_menu_item, wp_save_nav_menu_items, wp_nav_menu, wp_nav_menu_setup

Top Google Results

User discussions

wpseek mobile