Hello,
I would like to find out how I could change the post_status and post_date from inside a function (plugin).
I have used wp_insert_post_data to edit the post_status and post_date before but now I need a scheduled event that will call a function and that function must change a posts status and date.
Any idea how this could be done?