/ Published in: MySQL
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
mysql_query("DELETE FROM `wp_posts` WHERE `post_status` = 'revision'");