You appear to be a bot. Output may be restricted
Description
Trace the parameters passed to the hookThis function allows for an action hook that's passed 0 args. Is this possible?
Usage
$mixed = bw_trace_parms( $arg );
Parameters
- $arg
- ( mixed ) optional – the parameter that must be returned for a filter hook
Returns
mixed the arg that was passedSource
File name: oik-bwtrace/includes/bwtrace-actions.phpLines:
1 to 9 of 9
function bw_trace_parms( $arg=null ) { $num = func_num_args(); $args = func_get_args(); //if ( 1 === $num ) { // $args = $args[0]; //} bw_trace2( $args, "parameters: $num:", null, BW_TRACE_ALWAYS ); return( $arg ); }View on GitHub View on Trac