Remove a Notice
Like the remove() method but also removes persist notices.
Available since version 3.0.149.
Usage
$self = $notices->removeNotice($item);
Arguments
Name | Type(s) | Description |
---|---|---|
item | string, Notice | Accepts a Notice object or Notice ID string. |
Return value
self
$notices methods and properties
API reference based on ProcessWire core version 3.0.236