
外掛標籤
開發者團隊
② 後台搜尋「Codebeans Unused Image Finder」→ 直接安裝(推薦)
原文外掛簡介
Codebeans Unused Image Finder checks every image in the Media Library and marks it Used or Unused, with links to the exact places each used image appears.
It checks:
Posts, pages and custom post types: block editor images, HTML, srcset, CSS backgrounds, shortcodes, galleries, featured images.
Page builders: WPBakery (single image, gallery, media grid), Elementor, Beaver Builder and builders that store JSON, serialized or base64-encoded data.
ACF image, gallery and file fields, Meta Box / Pods / CMB2 style fields, SEO social images, WooCommerce product galleries.
Site logo and icon, the active theme’s settings, and widgets placed in a widget area.
Category, tag and user profile images.
Gallery, slider and builder plugin tables.
Files of the active theme.
The live pages of the site and their stylesheets.
Trashed posts, old revisions, inactive widgets and settings of inactive themes do not count as use.
The plugin only saves a status on each image. It never deletes or changes posts, pages, images or settings.
For developers
unimfi_crawl_limit – maximum number of live pages checked (default 5000).
unimfi_table_pattern – regular expression for the plugin tables that are scanned.
unimfi_shortcode_image_atts – add shortcode attributes that hold image IDs.
The plugin only requests pages of your own site (loopback requests) and does not contact any external service.
