Skip to main content

Filter: gravityview/merge_tags/modifiers/value

Modify the merge tag modifier output.

Parameters

NameTypeDescription
$returnstringThe current merge tag value to be filtered.
$raw_valuestringThe raw value submitted for this field. May be CSV or JSON-encoded.
$valuestringThe original merge tag value, passed from Gravity Forms.
$merge_tagstringIf the merge tag being executed is an individual field merge tag (i.e. {Name:3}), this variable will contain the field's ID. If not, this variable will contain the name of the merge tag (i.e. all_fields).
$modifierstringThe string containing any modifiers for this merge tag. For example, "maxwords:10" would be the modifiers for the following merge tag: {Text:2:maxwords:10}.
$field\GF_FieldThe current field.

Since

Source

Defined in includes/class-gravityview-merge-tags.php at line 178