Closed bobbingwide closed 9 years ago
There are times when you want to know what's invoking a particular action hook or filter.
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.
Hooks to debug trace
For each hook listed the trace output will produce a trace record using bw_trace() and a debug backtrace using bw_backtrace().
bw_trace()
bw_backtrace()
The implementing function will be called bw_trace_backtrace()
bw_trace_backtrace()
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 usingbw_backtrace()
.The implementing function will be called
bw_trace_backtrace()