Skip to main content

mbr_cookie

Usage​

This shortcode returns the value of the specified $_COOKIE variable.

Parameters​

ParametersDescription
varThe name of the $_COOKIE variable to retrieve.
Default: none.
Required: yes.

Validity​

This shortcode is evaluated for any type of visitor.

Conditional Branching​

This shortcode does NOT support conditional branching with [ELSE_cookie].

Nesting​

Shortcode nesting is NOT supported.

Examples​

Will return the value of $_COOKIE['myNAME'] if it exists.:

[mbr_cookie var='myNAME']

API​

Note

There is currently no ActiveMember360 API function equivalent for this shortcode.