• Resolved woptima

    (@woptima)


    Is it possible to set wildcards for cookies?

    As example popups throughout a website will create multiple cookies all starting with the same string PUPcOOk- any way to set a wildcard to accept/deny them all without having to specific each single cookie created?

    PUPcOOk-* or something like that?

Viewing 2 replies - 1 through 2 (of 2 total)
  • You could maybe create a category with PUPcOOK- .
    You have to type it once, then have one toggle button for all the PUPcOOK- ‘s right?
    I think this is best option for now.

    If you want to check were they are working on at the moment or what will come:
    https://github.com/trewknowledge/GDPR/projects/1?fullscreen=true

    Goodluck

    • This reply was modified 5 years, 11 months ago by Willem Munts.
    Plugin Author Fernando Claussen

    (@fclaussen)

    The plugin is prepared to deal with cookies that have a hash.

    So in our example, we set 3 cookies, gdpr[privacy_policy], gdpr[allowed_cookies], gdpr[consent_types].

    If I check is_allowed_cookie( 'gdpr' ) it should understand that I’m talking about any of these 3.

    If you had a cookie named PUPcOOK-129387a98e12d
    You could look for PUPCOOK and it SHOULD give you the right answer.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Wildcard cookies’ is closed to new replies.