Filter: gravityview/merge_tags/modifiers/value
Modify the merge tag modifier output.
Parameters
| Name | Type | Description |
|---|---|---|
| $return | string | The current merge tag value to be filtered. |
| $raw_value | string | The raw value submitted for this field. May be CSV or JSON-encoded. |
| $value | string | The original merge tag value, passed from Gravity Forms. |
| $merge_tag | string | If 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). |
| $modifier | string | The 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_Field | The current field. |
Since
Source
Defined in includes/class-gravityview-merge-tags.php at line 178