0
I’m developing a member area in Wordpress, and I need to limit access according to the user’s registration date. I already have the registration date and already have the amount of days that the user is registered using php’s Diff function.
Example:
User registers today and has access to page X, he can only see page Y after 10 Days, if he has fewer days, display an error message and with 10 days or more, I release the page.
Can be plugin, no problem.
you can sweat the `date('suaData', '+10 day'); and check with diff again.
– RFL
But how could I do that with more than 10 pages per example? because all pages use the page.php file and I need different days for each page created.
– Anderson Costa