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
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?
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
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.