Hook when post is set from published to draft?
Is there an action i can hook into when a post is set from published back to draft? I have tried both transition_post_status and publish_to_draft but they don't seem to work when I set the post back to draft. I am doing something like: add_action('publi
0draft, hooks, posts, publish 3 years 0 Answers 51 views