跳到内容

TearSnow Site Icon Cleaner

v1.0.0

TearSnow · 2026年7月10日 上架

TearSnow Site Icon Cleaner is a lightweight WordPress plugin that permanently removes unused site icon attachments from your media library.

正在使用
10 以下
评分
暂无
累计下载
320
最近更新
2026年8月13日
需要 WordPress 6.0+已测试到 7.1.5PHP 7.2+

贡献者

TearSnow Site Icon Cleaner is a simple maintenance utility developed by TearSnow for cleaning up unused WordPress Site Icon files.

When changing the Site Icon in WordPress, previous icon files may remain stored as media attachments. Over time, these unused files can accumulate and increase unnecessary media storage usage.

This plugin automatically detects unused Site Icon attachments and permanently deletes them, helping keep your WordPress media library clean.

The plugin works automatically without any settings page, database options, or additional configuration.

Features

  • Automatically detects unused Site Icon attachments
  • Keeps the currently active Site Icon safe
  • Permanently deletes unused Site Icon media files
  • Automatically cleans old icons when a new Site Icon is selected
  • No settings page or configuration required
  • Lightweight and does not affect frontend performance

How It Works

WordPress stores Site Icons as media attachment posts with the _wp_attachment_context metadata value set to site-icon.

TearSnow Site Icon Cleaner checks these attachments and removes unused Site Icon files while keeping the currently selected Site Icon.

When a new Site Icon is uploaded or selected, the previous Site Icon attachment is automatically removed.

Important Notes

  • Deleted Site Icons cannot be restored from the WordPress Media Library because they are permanently deleted.
  • Please make sure unused Site Icon files are no longer needed before activation.
  • The plugin only removes attachments created for WordPress Site Icons.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums