跳到内容

PCIO VIS Media Files

v1.0.0

Niels Olsen · 2026年11月25日 上架

Inventory of media files used on the site and in PCIO VIS Member Event, with a scanner, external-link warnings and an unused-uploads cleaner.

正在使用
10 以下
评分
暂无
累计下载
0
最近更新
2026年11月26日
需要 WordPress 6.2+已测试到 7.2PHP 8.1+

贡献者

截图

Under WP Admin Vis menu, you find the Media files link. Here you can see unused files and delete them.
Under WP Admin Vis menu, you find the Media files link. Here you can see unused files and delete them.

PCIO VIS Media Files is an extension for PCIO VIS Member Event. It adds a Vis Media Files screen with three lists:

Used media

  • Scan site walks published pages, posts and public custom post types and records local media URLs found in content, inline styles, srcset attributes and featured images.
  • The site logo and site icon are included.
  • External media links are not added to the list; they are recorded as warnings in the scan log.
  • Rows can be added, edited and deleted by hand.

Vis events & documents

  • Lists every WordPress attachment referenced by the Vis events table (image_id, thumb_image_id) and the documents table (wp_attachment_id), with a link to each attachment.

Unused uploads

  • Lists Media Library attachments and orphan files in the uploads folder that neither of the first two lists references.
  • Paginated (250 files per page); Select all selects only the files on the current page.
  • Move to Used media records the selected files in the used inventory (so they leave this list and appear under Used media).
  • Select files and delete them permanently. Attachments are removed with wp_delete_attachment() (including generated sizes); orphan files are removed from disk.
  • Both actions re-validate the selection against a fresh scan; all paths are confined to the uploads folder.

Scan log

  • Shows scan results newest first. External media links and other issues are highlighted as warnings/errors.

Plums

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

导航

说明

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

© 2026 Plums