
PCIO VIS Media Files
v1.0.0Niels 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+
贡献者
截图
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.
