How to draft posts after being published with x days
I would suggest you use wp_schedule_event() and create a custom hook that you trigger daily. This hook can then call a custom function in which you query posts with the desired publish date, and change their status. For example, create a new plugin and add (note: I have not tested this): // Schedule auto-drafting post … Read more