Support » Fixing WordPress » Whats the easiest way to disable autosave?

  • I wish there was a simple way to do it because i find the autosave more hassle than it’s worth.

    Plugin anybody?

Viewing 1 replies (of 1 total)
  • define('AUTOSAVE_INTERVAL', 160 ); // seconds

    added to your wp-config.php file changes the duration between autosaves…. you could just make it a really long interval?

    or…I believe (I haven’t tested this, I just had it saved in case…)

    <?php
    /*
    Plugin Name: Disable Autosave
    */
    function disable_autosave() {
    wp_deregister_script('autosave');
    }
    add_action( 'wp_print_scripts', 'disable_autosave' );
    ?>

    saved as a php file, and dropped into your plugins directory then activated will disable autosave

Viewing 1 replies (of 1 total)
  • The topic ‘Whats the easiest way to disable autosave?’ is closed to new replies.