bobbingwide / oik-bwtrace

debug trace for WordPress
https://www.oik-plugins.com/oik-plugins/oik-bwtrace-debug-trace-for-wordpress/
GNU General Public License v2.0
6 stars 1 forks source link

Add ad hoc debug backtracing of selected hooks #14

Closed bobbingwide closed 9 years ago

bobbingwide commented 9 years ago

There are times when you want to know what's invoking a particular action hook or filter.

Proposed solution

Add Hooks to debug trace textarea field to identify the hooks where you want to produce debug backtrace output each time the hook is invoked.

For each hook listed the trace output will produce a trace record using bw_trace() and a debug backtrace using bw_backtrace().

The implementing function will be called bw_trace_backtrace()