Delete Post with Attachments

描述

By default when you delete a post or page, any associated media files or attachments to that post do not get deleted. Keeping these orphan files to your server will eat up a lot of precious web space for no reason.

Using this plugin when you delete a post, any associated attachments will also get deleted automatically.

Before deleting any media file or attachment the plugin smartly checks that the attachment is not in use elsewhere, i.e. on any other post, page, or product.

Features:

  • No configuration required
  • Just activate and use
  • Save your precious server storage
  • Works automatically on post/page deletion

安裝

  1. Upload the plugin directory to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

常見問題

Is this plugin compatible with the latest version of WordPress?

Yes, all our add-ons are compatible with the latest version of WordPress.

Does this plugin require any configuration after installation?

No, there is absolutely no configuration required, just activate the plugin and it will start working.

Does this delete any associated media with the post?

Yes, when you delete a page/post this plugin will check if there is any associated media or attachment to this post/page it will be deleted also.

Does this plugin work with custom post types also?

Yes, it works with all types, posts, pages, products etc

What if a single attachment is used on multiple posts?

If a single attachment is used on multiple posts, the attachment will not get deleted until all associated posts are deleted.

What if attachment is used as a featured image, does it get also deleted on post deletion?

Yes, the plugin will check if the image is not used in any other post then it will get deleted along with the current post.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Delete Post with Attachments” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Delete Post with Attachments 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.1.1

  • Change – Compatibility with WordPress 5.9

1.1.0

  • New – Implement featured image deletion

1.0.0

  • Initial release