Linux 软件免费装
Banner图

UsageRay – See Where Plugins Are Used

开发者 dagemawi409
更新时间 2026年9月9日 01:10
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

shortcodes blocks cleanup plugin usage unused plugins

下载

0.1.1 0.1.0 0.1.2 0.2.0 0.3.0 0.4.0 0.5.0 0.5.1 0.6.0 0.7.0

详情介绍:

Know what depends on a plugin before you turn it off. UsageRay is a read-only plugin usage and dependency auditor for WordPress administrators, developers, agencies, and maintenance teams. It answers a practical maintenance question: what could this plugin still support? UsageRay gathers evidence from content and background systems, explains why each result was attributed, and links to matching content when WordPress provides an edit screen. Audit your entire plugin stack Run one site-wide audit to review every installed plugin from a single dashboard. UsageRay scans shared content and storage in bounded batches instead of repeating the same work for each plugin, then prioritizes confirmed dependencies, stored footprints, incomplete coverage, manual review, and cleanup candidates. You can monitor progress, cancel safely, resume after a page reload, search the results, filter by evidence status, expand the supporting details, and export the completed audit as CSV or JSON. Record a shared Keep, Investigate, or Removal reviewed decision with a short handoff note for each plugin. Review-progress cards and a safety-prioritized queue show what still needs attention. Select several audited plugins to apply one confirmed decision or export a focused CSV or JSON handoff report. UsageRay marks a saved decision as needing re-review when the plugin version or its health classification changes. These records document administrator judgment only; they never deactivate or delete a plugin, and “Removal reviewed” is not a guarantee of safety. Keep audit history current Scheduled site-wide audits are optional and off by default. An administrator can choose Daily or Weekly from the Scan History card. UsageRay uses WordPress cron, prevents overlapping scheduled runs, continues large audits in bounded steps, and shows the next run, progress, completion, or failure status. It makes no external scheduling or tracking request and saves only the same compact, privacy-safe history summary as a manual site-wide audit. Review before deactivation UsageRay adds a Find usage action to the Installed Plugins screen. For active plugins, Deactivation Preflight places an evidence and risk review before the normal WordPress deactivation action. It also adds Review deactivation with UsageRay to the bulk-action menu so several selected plugins can be reviewed together, including declared plugin dependency warnings. Opening a scan or preflight never deactivates anything. Deactivation requires a separate explicit confirmation and is then handled by WordPress's normal protected workflow. Evidence instead of false certainty UsageRay separates visible dependency evidence, stored footprint, and uncertainty. An old option, metadata key, empty custom table, or inactive widget is useful cleanup evidence, but it is not treated as proof that the plugin is currently active on the site. An inactive plugin becomes a cleanup candidate only when UsageRay can attribute supported components and finds neither visible usage nor stored footprint. A candidate still requires manual confirmation. No visible evidence never means safe to delete. Background, security, caching, backup, SEO, and integration plugins may leave no supported content evidence. What UsageRay checks Transparent scan coverage Every focused scan, site-wide audit, and Deactivation Preflight includes a Scan Coverage manifest. It distinguishes checked surfaces from surfaces that were not applicable, are not yet supported, failed, or were only partially inspected because of a safety limit. This makes the result's limitations visible instead of implying complete detection. Privacy-conscious and read-only UsageRay does not modify content, delete plugins, or silently deactivate anything. Generic option values, post metadata values, scheduled-event arguments, custom-table row values, theme source text, and absolute filesystem paths are not retained in results or exports. Use UsageRay when cleaning up an inherited site, replacing a form or page-builder plugin, preparing a client maintenance report, or investigating whether an installed extension still supports content or background behavior. Use UsageRay from WP-CLI Developers, agencies, and automation systems can run the same read-only audit engine without opening wp-admin. Use wp usageray audit to inspect the installed plugin stack or wp usageray inspect <plugin> for one plugin by slug or complete basename. List retained audits with wp usageray history list, compare previous with latest, or export a retained audit without rescanning content. Commands support concise tables and privacy-safe JSON or CSV output. Machine-readable formats include stable schema identifiers, automatically suppress interactive progress, and can use optional --fail-on policies for CI. Exit code 2 means a requested policy matched after successful output; operational failures remain exit code 1. See UsageRay in action Watch the short UsageRay overview: https://www.youtube.com/watch?v=TWtoWhgtr2w The video narration is AI-generated.

安装:

  1. Upload the usageray directory to /wp-content/plugins/ or install the ZIP in WordPress.
  2. Activate UsageRay.
  3. Open Tools > UsageRay, or click "Find usage" beside an installed plugin.

屏幕截图:

  • Review the evidence summary and open matching content directly from the results.
  • Start a scan directly from the Find usage link on the Installed Plugins screen.
  • Prioritize every installed plugin with Plugin Health, review progress, bulk decisions, focused exports, and expandable evidence.
  • Review evidence and risk before deactivating one active plugin.
  • Review several selected plugins together, including dependency warnings, before WordPress deactivates them.

常见问题:

Does this plugin tell me that another plugin is safe to delete?

No. It reports evidence and uncertainty. It never claims that absence of visible usage makes deletion safe.

Does it change my content?

No. UsageRay is read-only.

Does UsageRay deactivate plugins automatically?

No. Opening an individual or bulk Deactivation Preflight never changes plugin state. Only after an administrator explicitly confirms does UsageRay submit the reviewed action to WordPress's normal nonce-protected deactivation handler.

How do I review several plugins before deactivation?

On the Installed Plugins screen, select the active plugins, choose “Review deactivation with UsageRay” from Bulk actions, and select Apply. UsageRay scans only that selection and presents a separate risk and evidence panel for every plugin.

Can I stop or resume an audit?

Yes. You can cancel a manual site-wide audit or Deactivation Preflight while it is running. If the page reloads during an unfinished manual audit, UsageRay resumes it automatically. Manual progress expires after one hour. Temporary scheduled-audit progress may remain for up to two days so a low-traffic site can continue the bounded scan.

Can UsageRay run audits automatically?

Yes, but only after an administrator explicitly enables Daily or Weekly scheduling in Tools > UsageRay. Scheduling uses WordPress cron, which runs when the site receives traffic, so times are approximate. It uses no external service, does not track the site, never changes plugin state or content, and can be turned off at any time.

Can I run UsageRay with WP-CLI?

Yes. Run wp usageray audit for a site-wide audit or wp usageray inspect plugin-slug for one installed plugin. A complete basename such as plugin-directory/plugin-file.php also works. Add --format=json or --format=csv for machine-readable output and --quiet to hide interactive progress. These commands do not deactivate plugins or change content.

Why did a Deactivation Preflight open immediately?

UsageRay reuses a completed preflight for up to 10 minutes when you select Deactivate again for the same plugin. The result says when it was completed and provides a "Run a fresh preflight" link.

Does UsageRay read private option values?

Generic option inspection reads option names only. For an attributable legacy widget option, WordPress must decode the option so UsageRay can identify its numeric instance keys. Widget setting values are immediately discarded and are never displayed, retained in results, or exported. Post metadata values are not retained or exported. The ACF adapter performs a database-side field-reference prefix comparison and returns only counts and content locations. For attributable custom tables, UsageRay checks the database catalog and runs COUNT(*) only. It never selects table rows or column values. Empty tables are reported separately from table identifiers that are not currently present.

What is a cleanup candidate?

It is an inactive plugin with attributable supported components, no detected visible usage, and no detected stored footprint. This narrows manual cleanup work; it is not a claim that deletion is safe.

What is included in exports?

CSV and JSON exports contain plugin status and version, cautious guidance, review decisions and notes, scan coverage and limitations, component names, evidence counts, matching content locations, and edit links. They do not contain post content, metadata values, option values, or filesystem paths. Theme-reference evidence contains only an attributed identifier, relative theme filename, child/parent role, line number, and an optional Theme File Editor link. Theme source text is never retained or exported. Scheduled-event evidence includes the hook name, recurrence, and next-run time. Event arguments are never included because they may contain private integration data.

Can it inspect inactive plugins?

It can find literal shortcode and custom post type registrations and block.json metadata in many inactive plugins. Runtime-only or dynamically registered components may require the plugin to be active.

Why can usage be "unable to determine"?

Some plugins work entirely in the background or register components dynamically. WordPress does not maintain a universal ownership record for all plugin data.

更新日志:

0.7.0 0.7.0-rc.1 0.7.0-beta.1 0.7.0-alpha.4 0.7.0-alpha.3 0.7.0-alpha.2 0.7.0-alpha.1 0.6.0 0.6.0-rc.1 0.6.0-beta.1 0.6.0-alpha.4 0.6.0-alpha.3 0.6.0-alpha.2 0.6.0-alpha.1 0.5.1 0.5.0 0.5.0-beta.1 0.5.0-alpha.4 0.5.0-alpha.3 0.5.0-alpha.2 0.5.0-alpha.1 0.4.0 0.3.0 0.2.0 0.1.2 0.1.1 0.1.0