[wp-trac] [WordPress Trac] #41161: More Flexibility With Navigation Menu Item Types

WordPress Trac noreply at wordpress.org
Mon Jun 26 20:13:31 UTC 2017


#41161: More Flexibility With Navigation Menu Item Types
-----------------------------+---------------------------------------
 Reporter:  michael.ecklund  |       Owner:
     Type:  enhancement      |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  Menus            |     Version:  4.8
 Severity:  normal           |  Resolution:  wontfix
 Keywords:                   |     Focuses:  administration, template
-----------------------------+---------------------------------------
Changes (by welcher):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 @michael.ecklund thanks for reporting!

 The filter `wp_setup_nav_menu_item` is available and allows filtering of
 the `$menu_item` and will give you the access the items you're looking to
 modify.

 Codex reference -
 https://codex.wordpress.org/Function_Reference/wp_update_nav_menu_item

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41161#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list