Admin Notice Generator

Home » WordPress Generators » Admin Notice Generator
The name of the function that will be called to display the message.
The text domain of the plugin.
The type of the message.
Allow Dismiss
Allow the user to dismiss the message.
The message to display.
Display Everywhere
Display the message everywhere on the admin dashboard.
Display on Dashboard (index.php)
Display the message on the admin dashboard.
Display on Posts & Pages (edit.php)
Display the message on the posts and pages listing pages.
Display on Media (upload.php)
Display the message on the media listing pages.
Display on Comments (edit-comments.php)
Display the message on the comments listing pages.
Display on Appearance (themes.php)
Display the message on the appearance pages.
Display on Plugins (plugins.php)
Display the message on the plugins pages.
Display on Users (users.php)
Display the message on the users pages.
Display on Tools (tools.php)
Display the message on the tools pages.
Display on Settings (options-general.php)
Display the message on the settings pages.
                    function wpturbo_my_admin_notice(){
	$message = 'This is my message.';
	echo '<div class="notice notice-info ">';
		echo '<p>';
			_e( $message, 'wpturbo' );
		echo '</p>';
	echo '</div>';
}
add_action( 'admin_notices', 'wpturbo_my_admin_notice' );