Comment::quiet()

Get or set quiet mode

When quiet mode is active, comment additions/changes don't trigger notifications and such.

Usage

// basic usage
$bool = $comment->quiet();

// usage with all arguments
$bool = $comment->quiet(bool $quiet = null);

Arguments

NameType(s)Description
$quiet (optional)bool

Specify only if setting

Return value

bool

The current quiet mode


Comment methods and properties

API reference based on ProcessWire core version 3.0.252