[wp-trac] [WordPress Trac] #37079: Add new filter pre_wp_get_nav_menu_items

WordPress Trac noreply at wordpress.org
Sat Jun 11 23:58:27 UTC 2016


#37079: Add new filter pre_wp_get_nav_menu_items
--------------------------+-----------------------------
 Reporter:  spacedmonkey  |      Owner:
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Menus         |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Add a filter into wp_get_nav_menu_items function. This allows you to
 short-circuit the function and stop the get_objects_in_term (which is
 uncached) function from running.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37079>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list