[wp-hackers] hook init for specific admin page?

Stephen Rider wp-hackers at striderweb.com
Wed Aug 5 21:24:52 UTC 2009

Hi --

A patch I made was just committed (thanks westi). http://core.trac.wordpress.org/ticket/10464

It's park of the Manage Plugins screen, and I hook a function on  
admin_init.  Question:  isn't there an init hook for each specific  
admin page?  Something like admin_init_$page ?  Seems that might be a  
touch more efficient.

I see admin_head-$page_hook, but don't know what the page hook is for  
the plugins page.  Is it just "plugins.php"?


More information about the wp-hackers mailing list