#29854 closed enhancement (duplicate)
Add a hook for adding new menu settings
| Reported by: | stewarty | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Menus | Version: | 4.0 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
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?
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Duplicate of #18584.