CommentList::placeholders()
Get or set placeholders that will be populated by populatePlaceholders() method
Available since version 3.0.153.
Usage
// basic usage
$string = $commentList->placeholders();
// usage with all arguments
$string = $commentList->placeholders($name = '', $value = null);
Arguments
Name | Type(s) | Description |
---|---|---|
$name (optional) | string array false | Specify placeholder name to get or set, array of placeholders to set, false to unset all, omit to get all |
$value (optional) | string bool | Specify placeholder value to set or boolean false to unset, or omit when getting |
Return value
string
array
CommentList methods and properties
API reference based on ProcessWire core version 3.0.251