WordPress hook: Disable posts auto saving

July 31, 2009 at 9:43 am

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(){
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.