Overcome the WordPress Autosave Limitations

WordPress includes a handy feature called 'autosave' that periodically persists an autosave version of a post at the moment of writing. Since accidents happen, it's always good to have some recent version of a long text instead of starting from scratch when you don't have the proper backup. Autosave is handy, but since WordPress is no longer 'yet another blogging platform', it lacks important extensions to that feature. When you work with custom post types (or even plain old posts and pages), you might need to alter the standard save behavior. Therefore you take advantage of the save_post hook. Then… Continue Reading