This Applies to
OTHER DOCS Available


This shortcode is used to manually set the values in a cookie.

Shortcode Examples

[memb_set_cookie name="foo" value="barbaz"]
[memb_set_cookie name="foo" value="test" expiration="session"]
[memb_set_cookie name="foo" value="barbaz" expiration="forever"]
[memb_set_cookie name="foo" value="barbaz" expiration="now + 3 days"]
[memb_set_cookie name="foo" value="barbaz" expiration="December 25, 2020"]
[memb_set_cookie name="foo" value="barbaz" expiration="forever"]

Shortcode Parameters​

name: name of the cookie
value of the specific cookie
defaults to never

Shortcode Attributes

Conditional: Yes (?)
Nestable: No (?)
Accepts formatting: No (?)
Capturable: No (?)

  • Was this Helpful?
  • YesNo
9 ways to add more value to your membership site


This Applies To

Book a Call

Welcome to Memberium!

We are very excited for you to be part of our family. 

We would love to answer any questions that you have!

Please choose the best time for you to get in a call with us. 

For Technical Support, you can contact us at https://keap.memberium.com/support/ or Email us at support@memberium.com.