跳到内容

kb_debug.php

v0.2.4

kunalb · 2011年5月26日 上架

Debug your plugins and themes.

正在使用
10 以下
评分
暂无
累计下载
1,505
最近更新
2011年5月28日
需要 WordPress 3.0+已测试到 3.2.1

贡献者

截图

Showing how errors and hooks appear on using this plugin.
Showing how errors and hooks appear on using this plugin.
Showing how debugging information is shown in the plugin.
Showing how debugging information is shown in the plugin.
  • Call kb_debug with any arguments that you want to log and they will be pretty printed at the end of the document.
  • To log and show a list of all warnings, errors and notices generated by your plugin, add ?KB_Debug_Errors to your URL.
  • To see a list of all hooks in the order they fire as well as what arguments they are called with and what functions run on them (again, in which order),
    add a ?KB_Debug_Hooks to the URL.

To see both just add ?KB_Debug_Errors&KB_Debug_Hooks. (Essentially $_GET[var] must be set to enable that feature).

Features

  • Logs and displays all warnings, errors, etc. alongwith their context.
  • Logs and displays all hooks alongwith the argument(s) each hook is called with and the functions that run on that particular hook (in order).

Plums

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

导航

说明

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

© 2026 Plums