Not too sure how to phrase this one. I’m using a checkbox to fill a users meta field to indicate that they’re available. I’m looking for a way to automatically clear the field or change the fields value after a period of time. For example 1week from when the user checked the availability field. I’ve got the checkbox working perfectly and outputting the correct value to indicate that a users available. I’m just unsure where to start looking with regards to clearing the field automatically after a time period.
Any pointers would be greatly appreciated or advice on what it is I should be looking for.