1. Add:
/** Number of saved post revisions; false = 0 */
define('WP_POST_REVISIONS', 3);
to wp-config.php
2. This needs a custom MySQL query.
3. No – the image remains in the Media Library.
Thread Starter
leiw
(@leiw)
Hello, thank for your useful infomration !
1. Do you know how to delete previous drafts ?
2. Do you know any cache folder in WordPress ?
3. Do you mean delete image in Media Library, it will also delete thumb ? We want to delete all image, how to done it ?
Thanks !!
1. A custom MySQL query is your only real option as far as I know.
2. Not unless you are using a caching plugin, no.
3. If you delete the image from the Media Library, the smaller copies should also be deleted.
Thread Starter
leiw
(@leiw)
Hi,
If deleted a post, is it included to delete image within that post ?
Thanks !