Timeline for 1 day after custom date change post status to draft
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 10, 2018 at 7:54 | vote | accept | Mathias | ||
Jun 10, 2018 at 4:06 | comment | added | Bjorn |
Well, this is not a site were we hold your hand every step of the way ;-). You have to get koncerter_start_date from the location it's saved. How, is up to you. Don't use a plugin for the cron-job, create one from your hosting panel. You can place this code directly in functions.php. Set the correct domain in the first function and try it. The hooks are already inside the add_action() . For all your other questions i suggest Google ;-).
|
|
Jun 9, 2018 at 18:59 | comment | added | Mathias | Concise and precise :-) I'm still new to php so I need some clarifying before I can apply the code. What do I need to finish $concert_start_date_str collection? Next, the site is still local, so might I'll be using a plugin for the cron-job - how will the code look with a hook? | |
Jun 8, 2018 at 9:18 | comment | added | Bjorn | See my edit.... | |
Jun 8, 2018 at 9:18 | history | edited | Bjorn | CC BY-SA 4.0 |
added 1668 characters in body
|
Jun 8, 2018 at 8:48 | history | edited | Bjorn | CC BY-SA 4.0 |
added 1 character in body
|
Jun 8, 2018 at 8:47 | comment | added | Mathias | Yes, that is exactly what I meant to write. | |
Jun 8, 2018 at 6:30 | history | answered | Bjorn | CC BY-SA 4.0 |