/ Published in: PHP
Add the following code in theme's functions.php to disable auto-save and post revision completely.
Expand |
Embed | Plain Text
function disable_autosave() { wp_deregister_script('autosave'); } add_action( 'wp_print_scripts', 'disable_autosave' );
You need to login to post a comment.
