Usage:
This shortcode will capture an existing COOKIE variable with the given name and display if available.
This shortcode does NOT supports conditional branching with [ELSE_cookie_Name].
Shortcode nesting is NOT supported.
Parameters:
name | The “name” suffix defines the name of the COOKIE variable to be displayed. Default: none. Required: no. |
Example:
[i4w_cookie_testcookie] Returns the $_COOKIE variable named "testcookie".
[i4w_cookie_testcookie index='date'] Returns the $_COOKIE variable named "testcookie[date]".
[i4w_cookie_testcookie index='customer|name'] Returns the $_COOKIE variable named "testcookie[customer][name]".
[i4w_cookie_testcookie index='customer|email'] Returns the $_COOKIE variable named "testcookie[customer][email]".
API:
There is no API function equivalent for this shortcode.