- Code: Select all
<?php if(s2member_registration_time("level1") >= ($_10_days_ago = strtotime("-10 days"))){ ?>
My content Here
<?php } ?>
It is to my understanding that this code will show my content to those members who have registered 10 days ago and have level 1 access. The problem is, I have created a test member about 15 days ago and gave it level 1 access but the content still will not show to that member.
Can someone tell me what I'm doing wrong here, am I missing a step or any other key factors?