Changing post status

That code is part of something bigger, as there are many places where the custom post_status needs to be inserted.

There are two interesting discussions here at WPSE and both point to the use of this plugin: Edit Flow.

Leave a comment in the question you’re referring and ask Bubka if he can publish his full code, otherwise… Edit Flow…

Leave a Comment