Wrap each child and it’s grandchildren separately
I’m not sure this class alone is sufficient to modify the output you want. You may have to extended other pieces along with the start_el. (I’ve not verified this.) In the meantime, here’s an idea… (just as a fun twist to the approach) after the menu is generated as currently is, do a regex find … Read more