跳到内容

HookTrace – Trace Hooks with Precision

v1.1.0

SmilingSyntax · 2026年1月8日 上架

Cross-Plugin Debug & Trace Recorder - Records and visualizes hook execution order for WordPress developers.

正在使用
10 以下
评分
5.0 / 5
累计下载
550
最近更新
2026年1月14日
1 条评价需要 WordPress 5.0+已测试到 6.9.12PHP 8.0+

截图

Hook list view showing all hooks that fired, with search and filter options
Hook list view showing all hooks that fired, with search and filter options
Selected hook detail view showing all callbacks with priority, execution order, duration, and file paths
Selected hook detail view showing all callbacks with priority, execution order, duration, and file paths
Color-coded badges indicating source (core/theme/plugin) and type (action/filter)
Color-coded badges indicating source (core/theme/plugin) and type (action/filter)
HookTrace – Trace Hooks with Precision
HookTrace – Trace Hooks with Precision
HookTrace – Trace Hooks with Precision

HookTrace is a developer observability tool that records and visualizes the runtime execution order of WordPress hooks, filters, and plugin initialization for a single page request.

For Developers Only

This plugin is designed exclusively for development and staging environments. It helps developers understand:

  • Which hooks fired, in what order
  • Which callbacks executed on each hook
  • Callback priority and execution time
  • Source plugin, theme, or core location
  • Exact file and line number
  • Plugin and theme load timeline

Key Features:

  • Hook List Tracking – Records all hooks that fire during a page request with type and source information
  • Detailed Callback Inspection – When a hook is selected, displays comprehensive callback information including priority, execution order, duration, file path, and source
  • Modern Modal UI – Beautiful, searchable interface with filtering capabilities
  • Zero Performance Impact – In-memory storage only, no database writes
  • Early Boot Support – MU-plugin bootstrap captures hooks from the very beginning

Requirements:

  • WP_DEBUG must be set to true in wp-config.php
  • User must have manage_options capability (administrator)
  • PHP 8.0 or higher

Safety Features:

  • Automatically disables when WP_DEBUG is false
  • Never runs for non-admin users
  • Never modifies WordPress behavior
  • Observational only – no code execution changes

Plums

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

导航

说明

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

© 2026 Plums