PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Update EOT trough php

s2Member Plugin. A Membership plugin for WordPress®.

Update EOT trough php

Postby lucjager » January 2nd, 2012, 11:59 am

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
User avatar
lucjager
Experienced User
Experienced User
 
Posts: 33
Joined: November 10, 2010

Re: Update EOT trough php

Postby Cristián Lávaque » January 3rd, 2012, 6:18 am

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
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron