Skip to content

Commit

Permalink
Docs: Notices: Regenerate notices action documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth committed Nov 16, 2018
1 parent c308c3e commit e0960ff
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/data/data-core-notices.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ Yields action objects used in signalling that a notice is to be created.
* statusOrNotice: Notice status, or a
notice object.
Defaults to `info`.
* content: Notice message.
* contentOrOptions: Notice message, or
options if the first
argument is WPNotice.
* options: Notice options.
* options.context: Context under which to
group notice.
Expand All @@ -33,6 +35,11 @@ Yields action objects used in signalling that a notice is to be created.
* options.isDismissible: Whether the notice can
be dismissed by user.
Defaults to `true`.
* options.speak: Whether the notice
content should be
announced to screen
readers. Defaults to
`true`.
* options.actions: User actions to be
presented with notice.

Expand Down

0 comments on commit e0960ff

Please sign in to comment.