
WordPress have a feature which saves various copies of your posts in order to allow you to compare revisions or restore an older version of your posts. This is very useful, but it also take a lot of space in your database. Here is a very handy SQL query that will instantly delete all posts revisions as well as meta associated with it.














One Response
Thanks,
To disable post revision, open wp-config.php, add this line :
define(‘WP_POST_REVISIONS’, false);
Trackbacks: