Statistics: Posted by man-O-media — August 20th, 2011, 11:41 pm
Statistics: Posted by Cristián Lávaque — August 10th, 2011, 11:21 am
Statistics: Posted by man-O-media — August 9th, 2011, 9:14 pm
<?php
add_action ('ws_plugin__s2member_during_configure_user_registration', 's2_set_default_eot_time');
function s2_set_default_eot_time($vars = array()) {
if (!is_admin() && $vars['processed'] === 'yes') {
update_user_option($vars['user_id'], 's2member_auto_eot_time', strtotime(date('Y') . '-12-31'));
}
}
?>
Statistics: Posted by Cristián Lávaque — August 9th, 2011, 3:47 pm
Statistics: Posted by man-O-media — August 8th, 2011, 11:03 pm