AdminNotice final class
Minn\Admin\AdminNotice · public/minn/src/Minn/Admin/AdminNotice.php · 25 lines
An admin notice's markup, as wp_get_admin_notice builds it on the reference (probe functions-formatting-doubts): a type is a string, trimmed, and one holding a space is a mistake; extra classes come only from a list; an attribute that is true is a bare name, a value under a number is a bare name too, an empty one is left out.
Public
| static | markup(string $message, array $args, Closure $attr): array# | The notice's div and its inner part (the message, in a paragraph unless paragraph_wrap is off), escaped by $attr.
@return array{0: string, 1: string} |
Nothing matches.