Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



admin_init ›

Seit2.5.0
Veraltetn/v
do_action( 'admin_init' )
Definiert in:
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.





Quellcode

do_action( 'admin_init' );