Can a wp walker wrap a top-level menu item and all its children in a div where the div ID is the menu-item description?

This is very much like the question linked below, but I think I’d need to use the item->description in the start_lvl instead of the start_el. I’m not sure if that is possible. Attempts so far have failed.

WP Menu walker function to display parent description and wrap parent in own div

Read more here: WP Menu Walker Function wrap menus in divs with descriptions?


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: