How to always extend the Walker_Nav_Menu?
-
I have a custom class that extends the Walker_Nav_Menu to change some of the classes on the menu items. When I add a new menu, I just have to define my custom class in the ‘walker’ argument and everything works great.
How can I have my custom walker class extend all menus, even if I don’t specifically define it in the arguments, like when using the custom menu widget and I cannot do so?
- The topic ‘How to always extend the Walker_Nav_Menu?’ is closed to new replies.