EOT not setting properly
-
I seem to be having problems with setting the EOT.
I have a number of different levels set up most are +1 year but we also have a +2 years, +3 years and +10 days.
For example:
if($_SESSION['free_trial']) { $user = new WP_User($userid); $user->set_role("s2member_level2"); // Set membership expiration // 10 days $expire_on = date('Y-m-d', strtotime('+10 days')); update_user_option ($userid, "s2member_auto_eot_time", $expire_on); //echo $expire_on; }
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘EOT not setting properly’ is closed to new replies.