WordPress at a glance
action is not described

admin_notices action-hook . WP 3.1.0

Prints admin screen notices.

Usage

add_action( 'admin_notices', 'action_function_name_5692' );
function action_function_name_5692(){
	// action...
}

Changelog

Since 3.1.0 Introduced.

Where the hook is called

In file: /wp-admin/admin-header.php
admin_notices
wp-admin/admin-header.php 281
do_action( 'admin_notices' );

Where the hook is used (in WP core)

wp-admin/includes/admin-filters.php 103
add_action( 'admin_notices', 'default_password_nag' );
wp-admin/includes/admin-filters.php 104
add_action( 'admin_notices', 'new_user_email_admin_notice' );
wp-admin/includes/admin-filters.php 114
add_action( 'admin_notices', 'update_nag', 3 );
wp-admin/includes/admin-filters.php 115
add_action( 'admin_notices', 'paused_plugins_notice', 5 );
wp-admin/includes/admin-filters.php 116
add_action( 'admin_notices', 'paused_themes_notice', 5 );
wp-admin/includes/admin-filters.php 117
add_action( 'admin_notices', 'maintenance_nag', 10 );
wp-admin/includes/admin-filters.php 118
add_action( 'admin_notices', 'wp_recovery_mode_nag', 1 );
wp-admin/includes/admin-filters.php 141
add_action( 'admin_notices', array( 'WP_Privacy_Policy_Content', 'notice' ) );
wp-admin/includes/class-wp-privacy-policy-content.php 110
add_action( 'admin_notices', array( 'WP_Privacy_Policy_Content', 'policy_text_changed_notice' ) );
wp-admin/includes/ms-admin-filters.php 35
add_action( 'admin_notices', 'site_admin_notice' );