$noticesremoveNotice()

Remove a Notice

Like the remove() method but also removes persist notices.

Available since version 3.0.149.

Usage

$self = $notices->removeNotice($item);

Arguments

NameType(s)Description
$itemstring 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.251