跳到内容

Field Finder for ACF

v2.0.0

Jaydip Makwana · 2025年5月8日 上架

Find where ACF fields are used in your theme and plugin code, and list fields that are never used.

正在使用
10 以下
评分
暂无
累计下载
674
最近更新
2026年11月18日
需要 WordPress 6.3+已测试到 7.1.5PHP 7.4+

贡献者

Field Finder for ACF is a developer tool. It scans your code and shows exactly where an Advanced Custom Field is read or written.

Find a field

  • Search by field name, field key (field_…) or pattern such as hero_*
  • Field name suggestions with label, type and field group
  • File, line number and code snippet for every match
  • Detects get_field, the_field, get_sub_field, the_sub_field, have_rows, get_field_object, update_field, delete_field, add_row and more
  • Detects [acf field="…"] shortcodes in code and, optionally, in post content
  • Ignores commented-out code
  • Lists dynamic calls such as get_field( $name ) separately, because they cannot be checked

Unused fields report

Lists every ACF field with how often it appears in your code. Fields with no matches are shown first.

Scan scope

Active theme, parent theme, plugins, must-use plugins or a custom folder. Optionally scan Twig templates and ACF block.json example data.

Built for large sites

  • Scans in batches with a progress bar, so it does not time out
  • Caches results per file (by modified time), so repeat searches are fast
  • Skips node_modules, vendor, .git and very large files

Export and CLI

  • Download results as CSV or JSON
  • WP-CLI: wp field-finder search <field>, wp field-finder unused, wp field-finder clear-cache

Developer hooks

  • fielffoa_functions – ACF function names to look for
  • fielffoa_excluded_dirs – folder names to skip
  • fielffoa_max_file_size – largest file (bytes) to parse
  • fielffoa_scan_roots – folders to scan
  • fielffoa_batch_seconds – seconds spent per AJAX batch

Plums

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

导航

说明

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

© 2026 Plums