I’m attempting to create a new button in the backend that allows me to update my posts without creating a revision. For instance, if I fix a spelling error in a post, that isn’t a completely revised document, its a spelling correction. I’d like to have manual control over when revisions are created.
It seems as if this will be the way to go: remove_action('pre_post_update', 'wp_save_post_revision');
But I’m having trouble tying that to a specific button.. I don’t want to disable revisions completely, just momentarily when this button is pressed.
Thanks for your input!
The topic ‘How to Create a Button that Updates the Post Without Creating a Revision’ is closed to new replies.