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

In this article

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

$classes .= ' ' . implode( ' ', $args['additional_classes'] );

Changelog

VersionDescription
6.4.0Introduced.

User Contributed Notes

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