views:

28

answers:

2

I'm trying to get a PHP array that includes a simple nested list of primary_links and their sub-menu items. This seems like a simple task but I can't seem to get a straight answer on how exactly to do it.

From there I would theme it exactly as needed.

Thanks!

A: 

This seemed to do the trick!

menu_tree_all_data('primary-links')
Ian Silber
A: 

Did you try this function? menu_primary_links();

hairQles