Check if a notice has already been added.
Parameters
$messagestringrequired- The text to display in the notice.
$notice_typestringoptional- The name of the notice type – either error, success or notice.
Default:
'success'
Changelog
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |