Hi, I’m looking into a way to add custom attribute to the offcanvas menu (location : slideout).
Right now, I’m using nav_menu_link_attributes filter and I’m able to add my attributes to the ul.slideout-menu > li > a elements.
But I would prefer target the ul.slideout-menu tag (or parents like .main-nav or even the nav#generate-slideout-menu) using filter ?
The only available filter I see for that is generate_menu_class but it’s only for the #site-navigation … https://docs.generatepress.com/article/generate_navigation_class/