Skip to main content

Filter: gform_merge_tag_data

Filter data that will be used to replace merge tags.

Parameters

NameTypeDescription
$datamixedarray Array of key/value pairs, where key is used as merge tag and value is an array of data available to the merge tag.
$textmixedstring String of text which will be searched for merge tags.
$formmixedarray Current form object.
$leadmixedarray The current Entry Object.

See Also

Since

  • 2.1.1.11: Added the Entry Object as the 4th parameter.

Source

Defined in common.php at line 1351