Docs: Improve wp_admin_notice() function docblock.

This changeset adds a description for the `attributes` key of `$args` in `wp_admin_notice()`.

Props tmatsuur.
Fixes #59887.





git-svn-id: https://develop.svn.wordpress.org/trunk@57279 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras 2024-01-14 08:40:59 +00:00
parent 9ae009f06d
commit 6089ffbed1

View File

@ -8876,6 +8876,7 @@ function wp_get_admin_notice( $message, $args = array() ) {
* @type bool $dismissible Optional. Whether the admin notice is dismissible. Default false.
* @type string $id Optional. The value of the admin notice's ID attribute. Default empty string.
* @type string[] $additional_classes Optional. A string array of class names. Default empty array.
* @type string[] $attributes Optional. Additional attributes for the notice div. Default empty array.
* @type bool $paragraph_wrap Optional. Whether to wrap the message in paragraph tags. Default true.
* }
*/