Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#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)

#1 @DrewAPicture
12 years ago

  • Milestone Awaiting Review
  • Resolution → duplicate
  • Status new → closed

Duplicate of #18584.

#2 @briandichiara
12 years ago

I think this might actually be a duplicate of #19464

Note: See TracTickets for help on using tickets.