DX Delete Attached Media

外掛說明

DX Delete Attached Media deletes all of the attached media files to your posts once they get deleted from the system. The standard core behavior deletes posts alone without taking care of related images. Now you can maintain your install and get rid of all solo attachments getting into your posts via the Media button and used nowhere else.

The plugin works with WooCommerce and Easy Digital Downloads.

螢幕擷圖

  • Insert newly uploaded media to your post.
  • Publish and then Delete your post.
  • You'll have to Delete your post Permanently.
  • The Attached Media is deleted.

安裝方式

  1. Upload ‘dx-delete-attached-media’ to the ‘/wp-content/plugins/’ directory or find via the Plugins admin section
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. That’s all. It would use out of the box, no settings needed. If you want to disable the functionality, disable the plugin from the Plugins section.

常見問題集

Does it work for custom post types?

Yes, as long as you attach images via the Media button, they are going to be deleted once the post/post type entry is deleted.

Does it work for all of the deleted posts?

It works for all of your deleted posts, as long as you delete them from the system. Keep in mind that the soft delete sends your post to Trash first, and deleting the media would happen once your Trash is being emptied.

使用者評論

2021 年 11 月 16 日
I run a classifieds site with thousands of posts and images uploaded by the users. This plugin is a total lifesaver!
2020 年 5 月 26 日
The plugin works well, but not delete the ".webp" file type. Hope the author fix it in next update, but for me is a 5* plugin. Just install, activate and it does the job.
2020 年 2 月 27 日
Its a perfect plugin. No setup and/or configurations required. Serves its purpose better. 5*. Works so well with Classifieds website, woocommerce and the like. Perfect
閱讀全部 25 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈DX Delete Attached Media〉的開發相關工作。

參與者

將〈DX Delete Attached Media〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

2.0

  • Has been added separate menu for the plugin
  • The plugin icon has been added
  • On the main plugin page has been added a table with the following columns displaying: the media file, the parent post if is used, the other posts that contains it if is used
  • On the main plugin page, a checkbox has been added for enabling/disabling the plugin’s functionality, called ‘Enable feature’.
  • Added filter: by date (Newest/Oldest)
  • Added filter: by Parent post (Used media/Unused media)
  • A Help page has been added with instructions and screenshots describing the functionality of the plugin.

1.0.1

  • Update the plugin version and Tested up to tag

1.0

  • Extended support for WooCommerce and Easy Digital Downloads.

0.5

  • Description update and version bump

0.4

  • First release