[wp-hackers] Admin menu hook

Ryan Boren ryan at boren.nu
Sat Dec 4 05:09:00 UTC 2004


On Fri, 2004-12-03 at 23:07 -0600, Ryan Boren wrote:
> > I tried this:
> > 
> > add_submenu_page(__("test.php"), __("Test"),
> > __('Edit'), 5, '../wp-content/plugins/test/php');
> > 
> > but it doesn't work. If I replace "plugins" with
> > "plugin", it does. This seems odd to me...?
> 
> Try this:

Oops, I forgot to mention that I did find a bug that could have been
hindering you.  Fixed.

Ryan





More information about the hackers mailing list