wpseek.com
A WordPress-centric search engine for devs and theme authors



admin_init › WordPress Action Hooks

Since2.5.0
Deprecatedn/a
do_action( 'admin_init' )
Defined at:
Codex:

Fires as an admin screen or script is being initialized.

Note, this does not just run on user-facing admin screens. It runs on admin-ajax.php and admin-post.php as well.

This is roughly analogous to the more general {@see 'init'} hook, which fires earlier.





Source

do_action( 'admin_init' );