admin管理员组文章数量:1415655
I want to protect a certain page with a password. The thing is that I want to get it unlocked to users who have an active booking (I'm using WooCommerce Bookings). I have thought that a good idea could be to send an email to every user with an active booking X minutes before the actual booking starts with a private and temporary link to that locked page. The link should use a token to have it unlocked automatically. I don't know if this is possible in the WordPress environment.
Thanks!
I want to protect a certain page with a password. The thing is that I want to get it unlocked to users who have an active booking (I'm using WooCommerce Bookings). I have thought that a good idea could be to send an email to every user with an active booking X minutes before the actual booking starts with a private and temporary link to that locked page. The link should use a token to have it unlocked automatically. I don't know if this is possible in the WordPress environment.
Thanks!
Share Improve this question edited Sep 14, 2019 at 17:27 fuxia♦ 107k39 gold badges255 silver badges459 bronze badges asked Sep 14, 2019 at 17:07 eirem151eirem151 11 Answer
Reset to default 0The users could be sent a link with parameters: "{url}/booking0914?token=zxy321" Your action hook would allow users with the correct token to proceed. Others would be redirected.
本文标签: woocommerce offtopicTemporary access to page with URL sent to email
版权声明:本文标题:woocommerce offtopic - Temporary access to page with URL sent to email 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745156988a2645234.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论