i4w_getcookie
Usage
This shortcode is used to retrieve the value held in a client-side cookie. The cookie will have to have been previously set either programmatically through your own script or through the [i4w_cookie_set] shortcode.
[ELSE_getcookie] conditional branching is NOT supported.
Shortcode nesting is NOT supported.
Parameters
| Parameter | Description | Default | Required |
|---|---|---|---|
| var | The cookie that you wish to display in place of the shortcode. | None | Yes |
Example
Shortcode
[i4w_getcookie var='myVAR']