W3cubDocs

/WordPress

apply_filters( ‘wp_admin_notice_markup’, string $markup, string $message, array $args )

Filters the markup for an admin notice.

Parameters

$markupstring
The HTML markup for the admin notice.
$messagestring
The message for the admin notice.
$argsarray
The arguments for the admin notice.

Source

return apply_filters( 'wp_admin_notice_markup', $markup, $message, $args );

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_markup