Make WordPress Core

Opened 5 years ago

Last modified 5 years ago

#48133 new enhancement

Please add filter on wp walker li element

Reported by: backups's profile BackuPs Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Menus Keywords:
Focuses: Cc:


Can you please add a filter in the menu li elements so we can add structured data to the li element?

Change History (1)

#1 @jrf
5 years ago

Just wondering: shouldn't the structured data be applied to the actual link ?
And if so, there is already a filter in place to add attributes to that nav_menu_link_attributes.

Note: See TracTickets for help on using tickets.