Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Josh Lyford

    (@joshl)

    Hi jeremy2805,

    Currently we don’t set anything to remember a subscribe in the browser. We also don’t have a hook for the confirm link but i can add one for the next release if that will help you?

    Best,
    Josh

    Thread Starter jeremy2805

    (@jeremy2805)

    Thanks, but I don’t really have a very big window. Time’s a bit short.

    Could you just point me to where I can cut a hack?

    Plugin Author Josh Lyford

    (@joshl)

    If you look at sendpress / classes / public-views / class-sendpress-public-view-confirm.php

    You can also see the php here: https://github.com/brewlabs/sendpress/blob/master/classes/public-views/class-sendpress-public-view-confirm.php

    This file is what is used when someone clicks on the confirm link in a email. Look it over and let me know if you have questions or need more info on anything.

    Josh

    Thread Starter jeremy2805

    (@jeremy2805)

    Hey Josh,

    Just wanted to say thanks. In the end I put an action just before the switch in SendPress_Public_View_Post::html which I use to squirt out a cookie from my theme.

    A hook where you recommended, however, would come in very handy too.

    I’ll mark this as resolved now, but if you put the hooks into a future release, I’d appreciate it if you’d reply to this. Otherwise I’ll be stuck at the current version of Sendpress…

    Many thanks.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Remember a subscription…’ is closed to new replies.