Page 1 of 1

Update EOT trough php

PostPosted: January 2nd, 2012, 11:59 am
by lucjager
Dear S2member,

Is it possible to update the eot trough php?

Something like, if user clicks a button then update (or set_eot) to this date.

thanks,

Luc

Re: Update EOT trough php

PostPosted: January 3rd, 2012, 6:18 am
by Cristián Lávaque
You could try using get_user_option and update_user_option on s2member_auto_eot_time.

http://codex.wordpress.org/Function_Ref ... ser_option
http://codex.wordpress.org/Function_Ref ... ser_option