[wp-trac] [WordPress Trac] #29854: Add a hook for adding new menu settings

WordPress Trac noreply at wordpress.org
Fri Oct 3 19:16:26 UTC 2014


#29854: Add a hook for adding new menu settings
-------------------------+-----------------------------
 Reporter:  stewarty     |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Menus        |    Version:  4.0
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 I would like to add a setting to a menu (alongside the Theme locations or
 Auto add pages settings). A hook in nav-menu.php would allow for the
 addition of settings here.

 The 'wp_update_nav_menu' hook already exists in wp-admin/includes/nav-
 menu.php for processing the incoming data (see how 'auto-add-pages' is
 processed.

 Worth starting simply as a single hook and then filter by menu_id as well?

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


More information about the wp-trac mailing list