This topic contains 0 replies, has 1 voice. Last updated by eBierek 3 years, 3 months ago.
Topic Author | Topic |
---|---|
Posted: Sunday Sep 29th, 2013 at 9:15 am #59987 | |
Hi, I have the code below that I want to use to set EOT for users that are demoted but now upgrading to level-1. What hook can I use for this? To check that user is subscriber/level-0 before the upgrade is done? And then set EOT. (If the check is done after the upgrade, the user will no longer be level-0 but level-1, right? And for level-1 I have another function setting EOT to date(‘Y’)+1 ‘-12-31’) instead of what you see in code below.)
Any advice how to handle this? Thank you in advance, |