[wp-trac] [WordPress Trac] #13793: Missing child_of parameter to wp_get_nav_menu_items

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 11 23:19:25 UTC 2010


#13793: Missing child_of parameter to wp_get_nav_menu_items
-------------------------+--------------------------------------------------
 Reporter:  DreadLox     |       Owner:                
     Type:  enhancement  |      Status:  new           
 Priority:  normal       |   Milestone:  Future Release
Component:  Menus        |     Version:  3.0           
 Severity:  normal       |    Keywords:  has-patch     
-------------------------+--------------------------------------------------

Comment(by filosofo):

 Replying to [comment:4 DreadLox]:
 > Also what my patch provides can't be achieved using a plugin. Maybe you
 could just add an action/filter, so such a functionality could be
 implemented using a plugin.

 Actually you can, a number of ways.  I would either call
 `wp_get_nav_menu_items` directly or extend the `Walker_Nav_Menu` class.

 What is the use-case for this feature?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13793#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list