How to get ONLY the list of Submenus under given menu programmatically. Say, the given menu
means a main-menu
item. I tried with menu_tree_page_data
. But not sure if I can use it to select only the required menus.
The scenario is, I have active menu loaded using menu_get_active_trail()
. So I have all the details of the main menu. Now with those details I need to get the submenus under that.