admin_init

Advertisement

Summery Summery

Fires as an admin screen or script is being initialized.

Syntax Syntax

do_action( 'admin_init' )

Description Description

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 ‘init’ hook, which fires earlier.

Source Source

File: wp-admin/admin.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Advertisement

Leave a Reply