do_action( ‘wp_admin_notice’, string $message, array $args )

In this article

Fires before an admin notice is output.

Parameters

$messagestring
The message for the admin notice.
$argsarray
The arguments for the admin notice.

Source

do_action( 'wp_admin_notice', $message, $args );

Changelog

VersionDescription
6.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.