Find and return all {placeholder} tags found in given string
Available since version 3.0.126.
Usage
// basic usage
$array = $wireTextTools->findPlaceholders(string $str);
// usage with all arguments
$array = $wireTextTools->findPlaceholders(string $str, array $options = []);
Arguments
Name | Type(s) | Description |
---|---|---|
str | string | String that might contain field {tags} |
options (optional) | array |
|
Return value
array
bool
WireTextTools methods and properties
API reference based on ProcessWire core version 3.0.236