Statistics: Posted by Cristián Lávaque — October 7th, 2011, 12:12 am
Statistics: Posted by godrob — October 6th, 2011, 6:58 am
<?php
add_action('ws_plugin__s2member_before_check_ruri_level_access', 'add_my_uri_restriction');
function add_my_uri_restriction($vars) {
if (S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS < 15)
$GLOBALS['WS_PLUGIN__']['s2member']['o']['level1_ruris'] = 'messages';
}
?>
Statistics: Posted by Cristián Lávaque — October 6th, 2011, 2:43 am
Statistics: Posted by godrob — October 5th, 2011, 10:03 am
Statistics: Posted by godrob — October 5th, 2011, 9:41 am
Statistics: Posted by godrob — October 5th, 2011, 6:04 am