A
A
AlexanderShustik2016-03-04 10:55:17
WordPress
AlexanderShustik, 2016-03-04 10:55:17

Who understands nav_walker?

Hello, my question sounds like this:
How can I find out the parent of a submenu in the end_lvl function?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Vorotnev, 2016-03-04
@HeadOnFire

Refer to the $item->post_parent property.
https://css-tricks.com/the-wordpress-nav-walker-cl...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question