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?
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744871173a4598270.html
评论列表(0条)