Adding a cancel button to edit post screen
I’m actually quite surprised WP hasn’t already implemented this. I want to add a Cancel button to the edit post screen which will do some cleanup when pressed. After a little playing while watching my tables, here’s some things I’ve noticed. A new post is created with a post_status of auto-draft. This is changed to … Read more