How to switch off the Divi autosave?



Q: Anyone know how to switch off the stupid Divi autosave?

A: It’s not Divi, it’s WordPress. Put this in your functions.php file.

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

or here’s another solution,

Put this in wp-config.php file,

define('AUTOSAVE_INTERVAL', 300); // seconds
define('WP_POST_REVISIONS', false);

Source Our Facebook Group

Tuts Directory Rating

0




  • The comment section is for blog post/tutorial rating and reviewing purposes only. If you have any questions about a tutorial, please post them in the tutorial publisher's website.

    Leave a Reply

    avatar
      Subscribe  
    Notify of