How to disable Auto save option for wordpress posts?
In wordpress, we have a very good option when editing a post or page. WordPress automatically saves the post after every short period. And you can restore the post from the autosave options. This feature is really useful.
But some people may not like this feature. Why? Well, the reason is that this will save all the autosaved posts in your database, thus messing up your databases tables. To disable this option, you can do the following:
1) Open your wp-admin/post.php file and wp-admin/post-new.php files.
2) You will find this line of code there:
3) Add // to the beginning of this code.
The autosave option will be disabled for your existing and new posts.