Hook in Nav Menu Item
-
Add an hook on Nav Menu items to insert attributes. Currently, the nav menu item has 2 hooks, to change class and change ID. They are escaped, so i’m not able to inject attributes without the breaking HTML risk.
An hook to nav menu item (li) attributes would be nice to insert JavaScript attributes.
-
-
Hi there,
If you have ideas for WordPress (the software), please try posting them over at WordPress.org or in Trac
This ideas forum is for WordPress.com (the hosted service), not WordPress.org (the open-source software).
- The topic ‘Hook in Nav Menu Item’ is closed to new replies.