Apply walker_nav_menu_start_el but only to one menu
Well, that was easy. leaving here if someone stumbles upon this and it’s useful OR if someone has a better solution. In the comments below – the first if statement designates we only want this to apply to our mega menu which in our case is menu-2 in theme_location of wp_nav_menu // ADD SUBMENU BUTTON … Read more