Given a nav_menu_item
object, how would I determine the name of the Menu it is associated with?
I have a couple menus defined in my theme, as well as, a nav_menu_css_class
filter. Inside the filter, I only want to add classes to one of the menus. If I can dynamically pull the menu name using the $item
variable I can make sure I'm only acting on a specific menu.