wp_get_nav_menu_items vs wp_nav_menu
wp_get_nav_menu_items function retrieves an array of menu items for given menu. But the menu is a hierarchy, so there is a need of creating some mechanism that will create that hierarchy based on list of menu items. On the other hand there already is wp_nav_menu, that will get items for that menu (using wp_get_nav_menu_items) and … Read more