Function wc_add_notice
Add and store a notice
Parameters summary
string |
$message |
The text to display in the notice. |
string |
$notice_type = 'success' |
The singular name of the notice type - either error, success or notice. [optional] |