Hi,
Im trying to use nav_menu_link_attributes filter to default avia(1-2-3) menus, but it doesnt work, but works with another non default-avia menus.
Tried to debug it via print_r and nothing. I need it to change some menu attributes.
function wpse121123_contact_menu_atts( $atts, $item, $args )
{
print_r($args->menu_id);
return $atts;
}
add_filter( 'nav_menu_link_attributes', 'wpse121123_contact_menu_atts', 10, 3 );
Hey mdxclr,
Can you please explain a bit more what attributes you need to change?
Best regards,
Victoria