Viewing 6 replies - 1 through 6 (of 6 total)
  • Temyk

    (@webtemyk)

    Hello.

    Add this to wp-config.php file
    define('AUTOSAVE_INTERVAL', 300); // seconds

    Thread Starter koolpal

    (@koolpal)

    @webtemyk Thanks.

    I knew this code, but I was looking for an option in the plugin.

    Would you be adding this option to the plugin to keep everything in one place?

    Thanks again

    Temyk

    (@webtemyk)

    This is the only way to set the AutoSave interval. However, users ‘ sites do not always have rights to edit the file wp-config.php via a plugin.

    Thread Starter koolpal

    (@koolpal)

    @webtemyk You may want to check. Perfmatters plugin has this option.

    I would rather use a single plugin – Clearfy for all tweaks.

    Can you please explore and add this option?

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

    Thanks

    Temyk

    (@webtemyk)

    This option is available in Clearfy. But it only appears on versions of WordPress below 5.0 – where there is no Gutenberg.

    Have you checked whether AutoSave works in the classic editor on versions higher than 5.0? I checked myself and on the post editing page the AutoSave script doesn’t even connect

    Thread Starter koolpal

    (@koolpal)

    OK. Thanks

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Autosave Interval’ is closed to new replies.