$field->replace()
It parses any queries found in the field value.
Parameters
Name | Type | Default | Description |
---|---|---|---|
$data | array |
[ ] |
|
$fallback | string |
'' |
Fallback for tokens in the template that cannot be replaced ( null to keep the original token) |