This topic contains 0 replies, has 1 voice. Last updated by Adam Beaulne 3 years, 1 month ago.
| Topic Author | Topic |
|---|---|
| Posted: Friday Dec 6th, 2013 at 10:28 am #61717 | |
|
Hi, What I am trying to do is when a member “renews” with the modification form is add +1 year to his expiry date regardless on when he renews. The members ALWAYS expire on April 30th so I simply need to add 1 year to make it April 30th 2014, 2015, etc. So with the following hooks
I am doing
Obviously this isn’t adding 1 year but it’s just an example. I am able to get the user_id but the EOT variable is ALWAYS blank so after the function runs it sets my EOT for the user to empty. Why is get_user_field(‘s2member_auto_eot_time’, $user_id); returning blank? (I can confirm that $user_id is set). Thank you |
|








Pre-Sale FAQs
Video Tutorials
Community Forum
Knowledge Base
News/Updates
s2 Codex / Docs
GPL v2 License
Contact A Human
About Us
Our Customers
Support Policy
Privacy Policy
