Hello.
Add this to wp-config.php file
define('AUTOSAVE_INTERVAL', 300); // seconds
@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
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.
@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
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