On 26 Nov 2010, at 15:19, Louy wrote:

> Hello,
> 
> I'm using wordpress 3.1 Beta 1 and i've been wondering, how can i add a page
> to the *wp-admin/network/settings.php* submenu?
> i tried using *add_submenu_page('**network/settings.php', ...)* but it
> didn't work!


For the normal admin you call add_submenu_page in a function hooked on the 
admin_menu hook
For the network admin you call add_submenu_page in a function hooked on the 
network_admin_menu hook
For the user admin you call add_submenu_page in a function hooked on the 
user_admin_menu hook

Cheers
-- 
Peter Westwood
http://blog.ftwr.co.uk | http://westi.wordpress.com
C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5

_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers

Reply via email to