[WordPress] 外掛分享: Delete product images for WooCommerce

前言介紹

  • 這款 WordPress 外掛「Delete product images for WooCommerce」是 2020-06-03 上架。
  • 目前有 1000 個安裝啟用數。
  • 上一次更新是 2025-01-29,距離現在已有 96 天。
  • 外掛最低要求 WordPress 4.7 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 有 7 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

rwky |

外掛標籤

product images delete | product images remove | woocommerce product images delete | woocommerce product images remove | remove product images automatically |

內容簡介

這個小型且輕量的外掛程式會在商品被刪除(從垃圾桶中)時自動刪除所有商品圖片。

此外掛程式使用 "before_delete_post" 動作,並對正在刪除的商品ID進行刪除 (wp_delete_post),這是自動完成的,可以處理任何數量的商品。

歡迎貢獻於 https://github.com/rwkyyy/delete-product-images-for-wc

此外掛基於以下來源:
https://stackoverflow.com/a/45998408/5317637

原文外掛簡介

This small and lightweight plugin deletes all product images automatically when the product is deleted (from trash).
The plugin uses the “before_delete_post” action and runs a delete (wp_delete_post) for the product ID that is being deleted, this is done automatically and works with any number of products (server performance limited)
Contributions are welcomed on https://github.com/rwkyyy/delete-product-images-for-wc

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Delete product images for WooCommerce」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon