I’m having some trouble with creating a very custom menu in WordPress.
Basically, I need to get a list of all SUB menu items for a specific menu item, for example
Menu structure
item 1 (link) <--- level 1
leftside <--- level 2
subitem a (link) <--- level 3
subitem b (link) <--- level 3
subitem c (link) <--- level 3
subitem d (link) <--- level 3
...
rightside <--- level 2
subitem a (link) <--- level 3
subitem b (link) <--- level 3
subitem c (link) <--- level 3
subitem d (link) <--- level 3
...
I want to write a function where I can ask for: 1. all the submenu items for a level 1 item and it will give me the level 2 items under it 2. all the submenu items for a level 2 item and it will give me the level 3 items under it