[wp-trac] [WordPress Trac] #30983: Missing Hook in wp_update_nav_menu_item function
WordPress Trac
noreply at wordpress.org
Fri Oct 2 06:45:34 UTC 2015
#30983: Missing Hook in wp_update_nav_menu_item function
---------------------------+---------------------------
Reporter: WPThemeTrends | Owner: DrewAPicture
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.4
Component: Menus | Version: 4.1
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
---------------------------+---------------------------
Changes (by DrewAPicture):
* owner: => DrewAPicture
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"34769"]:
{{{
#!CommitTicketReference repository="" revision="34769"
Introduce the `wp_add_nav_menu_item` action, fired immediately after a new
nav menu item has been added.
This hook can be leveraged both for the legacy menus interface and the
menus integration in the Customizer, as both use the containing function,
`wp_update_nav_menu_item()`.
Props MikeHansenMe, tyxla.
Fixes #30983.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30983#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list