Timeline for get the list of menu items that are valid possible parents for the given menu item using menu_parent_options()
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 6, 2013 at 11:30 | review | Low quality posts | |||
Sep 6, 2013 at 12:05 | |||||
Sep 6, 2013 at 11:25 | comment | added | MutantMahesh | No it didn't work, you have to pass menu $item argument which you get by menu_get_item(), passing menu link id(mlid) directly is same as menu_parent_options($menu_arr, 0)). It return the full tree including the item itself. | |
Sep 6, 2013 at 11:10 | history | answered | Pratip Ghosh | CC BY-SA 3.0 |