Home Forums General Issues expiration date for the fields in the backend?


expiration date for the fields in the backend?

  • I would like to insert Twitch VODs on a page. These have also been integrated with ACF. A VOD can be saved for up to 60 days.

    Is there a way to create some kind of expiration date that automatically deletes the entry in the backend after 59 days?

  • When adding a value to a field there is nothing that can tell you when that value was added.

    So first is means having 2 fields, 1 for the value and another for the date that value was added.

    With this information you would then need to create a CRON job that looks at the information and deletes old values.

  • Ok, interesting.
    Can you give me a Tutorial or something? Because, I never did a CRON-Job before…

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.