Disable wordpress posts auto saving

August 12, 2009 · Print This Article

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.

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

function disableAutoSave(){
add_action( 'wp_print_scripts', 'disableAutoSave' );

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

Your choice for site templates and wordpress themes


Got something to say?

You must be logged in to post a comment.