/ Published in: PHP
Add the following code in theme's functions.php to disable auto-save and post revision completely.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function disable_autosave() { wp_deregister_script('autosave'); } add_action( 'wp_print_scripts', 'disable_autosave' );