DISCLAIMER: this post is older than one year and may not be up to date with latest WordPress version.

WordPress have a very useful function that autosaves your posts while you’re typing them in the dashboard. Though, if for some reason you’d like to disable this function, it is very easy to do. Just read on!

To disable WordPress autosaving function, simply open your functions.php file and paste the following function:

function disableAutoSave(){
    wp_deregister_script('autosave');
}
add_action( 'wp_print_scripts', 'disableAutoSave' );

That’s all. Once you saved the file, WordPress will never autosave a post. To enable autosaving again, simply delete this code.

Also, remember that if you need help with your WordPress blog, I can help for a reasonable price. Just send me an email and i’ll see what I can do for you.

2 Comments

  1. Is there a plugin for disabling autosave and post revision? I am using Studiopress Genesis child theme, the theme structure is different.

Leave a Comment

Your email address will not be published. Required fields are marked *