CommentField::count()
Return total quantity of comments matching the selector
Usage
$int = $commentField->count($selectorString);
Arguments
Name | Type(s) | Description |
---|---|---|
$selectorString | string null | Selector string with query |
Return value
int
CommentField methods and properties
API reference based on ProcessWire core version 3.0.251