mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
9ae009f06d
commit
6089ffbed1
@ -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.
|
||||
* }
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user