[wp-hackers] load-(page) action hook
viper at viper007bond.com
Sat May 24 20:25:28 GMT 2008
When in doubt, check the source. :)
The hook is called in /wp-admin/admin.php and for non-plugin pages, the hook
name is "load-filename.php". So for you, it'd be "load-users.php".
On Sat, May 24, 2008 at 1:10 PM, Eric Marden <wp at xentek.net> wrote:
> I ran across this in the codex (
> http://codex.wordpress.org/Plugin_API/Action_Reference), and would like to
> use it for a plugin I am developing. If I understand it correctly, I can
> specify the name of the page on which to fire my plugin functions, but can't
> seem to figured out the syntax.
> The page I want it to fire on is the users page in the admin screen. I
> tried load-(users) and load-users and neither one fired my plugin. I'm using
> admin_head now for the hook, but this makes it fire on every admin page, and
> is inefficient for my needs.
> Any one know how to use the load-(page) action hook?
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
Viper007Bond | http://www.viper007bond.com/ | http://www.finalgear.com/
More information about the wp-hackers