Good point. You could put a post body field in the form, so you can set the visibility to draft. It would not matter if it were draft or pending or published, really, since you are deleting the post immediately anyway, in a matter of a few seconds.
To be clear, this is not the intention of the post image field. Post fields are intended to be used in posts. The fact that a post is being created is a side-effect of using a post image field. We're not trying to create posts here, but we want to use the post image field, so we need to come up with a workaround.
If you did not use a post image field, there is probably a WordPress function to move the upload to the media library, but that may be more like starting over from scratch. Let us know if you need any more ideas.
Posted 7 years ago on Tuesday October 16, 2012 | Permalink