[wp-hackers] Menu Hook

Chris Davis chrisdmitri at gmail.com
Fri Sep 10 12:22:21 UTC 2004


I was aware of the method, I was just fishing to see if it had been
added to the wiki, or some other form of doco for the benefit of the
larger plug-in community.


On Fri, 10 Sep 2004 16:47:10 +0900, Jamie Talbot
<wphackers at jamietalbot.com> wrote:
> Quoting Matt Mullenweg <m at mullenweg.com>:
> 
> > Jamie Talbot wrote:
> >
> > > Yeah, I had a look round the latest nightly and couldn't see where the hook
> > is
> > > inserted, or how it could be called?  Maybe it's just me being thick, but
> > could
> > > someone post a few simple lines of code demonstrating a menu insertion?
> >
> > $menu[23] = array('My Menu Item', 5, 'my-menu.php');
> 
> Oh, so you can just put that in the plugin file?  That was obvious wasn't it?
> 
> Thanks!
> 
> Jamie.
> 
> 
> 
> _______________________________________________
> hackers mailing list
> hackers at wordpress.org
> http://wordpress.org/mailman/listinfo/hackers_wordpress.org
>



More information about the hackers mailing list