You appear to be a bot. Output may be restricted
Description
Trace the attached hooks for the given hookNote: The result set is expected to include ourselves
Usage
$mixed = bw_trace_attached_hooks( $arg );
Parameters
- $arg
- ( mixed ) required – the value to return, if it's a filter
Returns
mixed the $arg that was passedSource
File name: oik-bwtrace/includes/bwtrace-actions.phpLines:
1 to 7 of 7
function bw_trace_attached_hooks( $arg ) { $cf = current_filter(); bw_trace2( $cf, "current filter", true, BW_TRACE_DEBUG ); $hooks = bw_trace_get_attached_hooks( $cf ); bw_trace2( $hooks, $cf, false, BW_TRACE_ALWAYS ); return( $arg ); }View on GitHub View on Trac