admin_init – action
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.
Parameters
- .
- ( 2.5.0 ) . .