最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

plugins - get current date + 90 days and checking every day

programmeradmin4浏览0评论

User can submit post from frontend submission form. Fieldname:

Title (entered by user)
expire_date (entered by user)
expire_date1 (invisible)
expired (invisible)

When user enter no value for "expire_date" then i have to enter fallback value for custom field expire_date1. The fallback value is: current date + 90 days.

In next step: When date has been reached then change custom field "expired" from 0 to 1.

How to automate this writing and checking process?

发布评论

评论列表(0)

  1. 暂无评论