It is necessary to close access to some pages and buttons of the site, the site is made on the WordPress engine. Access will be open only to those users who enter some code that they will receive.

How to close a page or button when the session is not running, and open for 24 hours after the user has entered the code?

  • And if in the meta-data to the user to write the date of input of the button? Then you can close the button / page just by checking: if the data_type + day is more than the current date, then we show it, otherwise we hide it - BOPOH

0