W3cubDocs

/WordPress

apply_filters( ‘wp_admin_notice_args’, array $args, string $message )

Filters the arguments for an admin notice.

Parameters

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

Source

$args       = apply_filters( 'wp_admin_notice_args', $args, $message );

Changelog

Version Description
6.4.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_admin_notice_args