WordPress at a glance
action is not described

admin_init action-hook . WP 2.5.0

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

Usage

add_action( 'admin_init', 'action_function_name_8711' );
function action_function_name_8711(){
	// action...
}

Where the hook is called

In file: /wp-admin/admin.php
admin_init
wp-admin/admin.php 156
do_action( 'admin_init' );
wp-admin/admin-post.php 29
do_action( 'admin_init' );
wp-admin/admin-ajax.php 44
do_action( 'admin_init' );

Where the hook is used (in WP core)

wp-includes/update.php 743
add_action( 'admin_init', '_maybe_update_core' );
wp-includes/update.php 749
add_action( 'admin_init', '_maybe_update_plugins' );
wp-includes/update.php 755
add_action( 'admin_init', '_maybe_update_themes' );
wp-includes/ms-default-filters.php 60
add_action( 'admin_init', 'wp_schedule_update_network_counts');
wp-includes/default-filters.php 344
add_action( 'admin_init', 'send_frame_options_header', 10, 0 );
wp-includes/default-filters.php 393
add_action( 'admin_init', 'register_admin_color_schemes', 1);
wp-includes/default-filters.php 418
add_action( 'admin_init', '_wp_check_for_scheduled_split_terms' );
wp-includes/default-filters.php 519
add_action( 'admin_init', '_wp_admin_bar_init' );
wp-includes/class-wp-customize-manager.php 374
remove_action( 'admin_init', '_maybe_update_core' );
wp-includes/class-wp-customize-manager.php 375
remove_action( 'admin_init', '_maybe_update_plugins' );
wp-includes/class-wp-customize-manager.php 376
remove_action( 'admin_init', '_maybe_update_themes' );
wp-admin/includes/admin-filters.php 41
add_action( 'admin_init', 'wp_admin_headers' );
wp-admin/includes/admin-filters.php 112
add_action( 'admin_init', 'default_password_nag_handler' );
wp-admin/includes/admin-filters.php 146
add_action( 'admin_init', array( 'WP_Privacy_Policy_Content', 'text_change_check' ), 100 );
wp-admin/includes/admin-filters.php 152
add_action( 'admin_init', array( 'WP_Privacy_Policy_Content', 'add_suggested_content' ), 1 );