Opened 3 months ago
Cannot filter Walker items in Walker_Nav_Menu_Checklist class
|Reported by:||maxaud||Owned by:|
I have a need to filter the URL of a menu item in the nav-menus.php admin page.
The Walker_Nav_Menu class uses the following code to filter the attributes which would be great but..
$atts = apply_filters( 'nav_menu_link_attributes', $atts, $item, $args );
.. the Walker_Nav_Menu_Checklist class that generates a checklist doesn't filter the links attributes like the Walker_Nav_Menu class.