Hi, I am working on WordPress menus and adding options for customization items.
I want to define an option limited by menu depth, for example, I need an option just for first depth something like “conditional_logic” should do this but as I sought it is not possible with a simple change.
So I am interested to know that there is a way to dig in and limit this option just for first depth even with some custom PHP?
this thread helped me to solve this.
How do I add a custom class to a menu item in WordPress?