[wp-trac] [WordPress Trac] #32599: wp_nav_menu parameter to print the menu description

WordPress Trac noreply at wordpress.org
Tue Jun 9 16:03:46 UTC 2015


#32599: wp_nav_menu parameter to print the menu description
-----------------------------+-----------------------------
 Reporter:  elvishp2006      |      Owner:
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Menus            |    Version:
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 Currently, to print the description of any menu item is necessary write a
 Walker class and override the start_el method. I think it would be
 interesting to add a parameter in wp_nav_menu method to print the
 description automatically without the need to write a class for that. It
 would be something like this: print_menu_description => true

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


More information about the wp-trac mailing list