[wp-trac] [WordPress Trac] #14414: Add an action hook to add fields to nav_menu items form
WordPress Trac
wp-trac at lists.automattic.com
Sun Jul 25 07:25:37 UTC 2010
#14414: Add an action hook to add fields to nav_menu items form
-----------------------------+----------------------------------------------
Reporter: DreadLox | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version:
Severity: normal | Keywords:
-----------------------------+----------------------------------------------
Hello,
In order to add a custom field to a nav menu item form, I have to setup a
custom walker whereas a simple action hook could do the trick. Everything
else is ok to handle and save the custom field.
(http://loxdev.knc.nc/blog/wordpress/auto-populate-nav-menu-with-sub-
pages/)
Here is how the asked action hook could be added:
http://github.com/loxK/Wordpress_Gecka_Submenu/blob/master/models/NavMenuHacks.php#L310-312
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14414>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list