[wp-hackers] wp_nav_menu too simplistic?

Otto otto at ottodestruct.com
Tue Apr 6 21:06:23 UTC 2010


On Tue, Apr 6, 2010 at 4:02 PM, Mike Schinkel
<mikeschinkel at newclarity.net> wrote:
> For the case of modifying menu items it seems it would solve some use cases if we simply added a 'wp_setup_nav_menu_item' filter on the return value of the wp_setup_nav_menu_item() function.  If others agree, I can submit a patch...

Not bad. Put one on wp_get_nav_menu_item instead (or also). That would
be needed to modify the output as well as the configuration system, it
appears like.

-Otto


More information about the wp-hackers mailing list