I have created a menu that has a handful of top level items and some sub-menu items. it is similar in structure to my "main menu". It is my understanding that each top level menu item is an array, which also contains an array of menu items that are "below" that menu item.
When I print out the array of the menu it will not show the sub-menu items. Am I doing something wrong?
$mm = menu_tree_page_data('menu-second-menu');
print_r($mm);
My ultimate goal is creating X amount of individual menus, and display them in various places throughout the theme.
When I print the array values for the "Main Menu", which is assigned to a block and working, I do see the sub-menu items right where I'd expect them to be.