Filter: gform_replace_merge_tags
Allow the text to be filtered so custom merge tags can be replaced.
Parameters
| Name | Type | Description |
|---|---|---|
| $text | string | The text in which merge tags are being processed. |
| $form | false|array | The Form object if available or false. |
| $entry | false|array | The Entry object if available or false. |
| $url_encode | bool | Indicates if the urlencode function should be applied. |
| $esc_html | bool | Indicates if the esc_html function should be applied. |
| $nl2br | bool | Indicates if the nl2br function should be applied. |
| $format | string | The format requested for the location the merge is being used. Possible values: html, text or url. |
Source
Defined in common.php at line 1801