walk_nav_menu_tree


walk_nav_menu_tree ( $items, $depth, $r )

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) $r An object containing wp_nav_menu() arguments.
Uses:
  • Walker_Nav_Menu
Returns:
  • (string) The HTML list content for the menu items.
Defined at:

Description

Retrieve 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_setup, wp_nav_menu

Top Google Results

User discussions

wpseek mobile