Filter: gk/gravityactions/template_vars_get
Allows filtering the the getting of template vars variables, also short circuiting.
Following the same structure as WP Core.
Parameters
| Name | Type | Description |
|---|---|---|
| $value | mixed | The value that will be filtered. |
| $index | array|string | Specify each nested index in order. Example: [ 'lvl1', 'lvl2' ]; |
| $default | mixed | Default value if the search finds nothing. |
| $is_local | bool | Use the Local or Global template vars. |
| $template | self | Current instance of the Template. |
Since
Source
Defined in src/GravityActions/Template.php at line 295