Autoremove Attachments helps you keep the Media Library clean by deleting all media files attached as child attachments to a post, page, or custom post type when the parent is deleted. By default, when you delete content from your website, regardless if it’s a post, a page, a product, or any kind of post type, WordPress keeps the media files previously associated with it, even if after the removal of your content they are not used anywhere else. Autoremove Attachments tries to solve this problem by automating the removal of all media files that have a child-parent relationship with the r...
Read the full description on WordPress.org →