Add element after navigation element title don’t works like I expect
There is a mismatch of callback function names in your code. I believe, it’s just a typo. To understand the nature of your problem, we have to know, how walker-nav-menu uses its parameters, while traversing a menu tree. $args apply to entire menu tree. $item is an individual menu item. Any changes to arguments in … Read more