Filter: gravityview/fields/custom/decode_shortcodes
Decode brackets in shortcodes, rendering them inert (escape brackets).
Parameters
| Name | Type | Description |
|---|---|---|
| $decode | bool | Enable/Disable decoding of brackets in the content. Default: false. |
| $content | string | HTML content of field. |
| $gravityview | \GV\Template_Context | The GravityView template context instance. |
Since
- 1.16.5
- 2.0: Added $gravityview parameter.
Source
- Defined in
templates/fields/field-custom.phpat line 82 - Defined in
templates/deprecated/fields/custom.phpat line 47