CommentField::count()

Return total quantity of comments matching the selector

Usage

$int = $commentField->count($selectorString);

Arguments

NameType(s)Description
$selectorStringstring null

Selector string with query

Return value

int


CommentField methods and properties

API reference based on ProcessWire core version 3.0.251