i m trying to import data into as my posts using wp all import and use add_action(save_post,myfunc) to run a function to update some fields all's good so far...but instead of publishing them all at once i want to save it as draft and then randomly publish them.
so how to set the status of the posts imported as drafts. and if possible then is there way to randomly publish these drafts over a period of time(code or plugin recommend would be great)?
wp all import
, do you mean WordPress import export plugin?