FieldtypeComments::getCommentsFields()
Return comments field(s)
Usage
// basic usage
$array = $fieldtypeComments->getCommentsFields();
// usage with all arguments
$array = $fieldtypeComments->getCommentsFields(bool $one = false);Arguments
| Name | Type(s) | Description |
|---|---|---|
$one (optional) | bool | Return only the first one found? Default:false |
Return value
array Field null
FieldtypeComments methods and properties
API reference based on ProcessWire core version 3.0.252