Description
Trace $value to the trace log file if tracing is active
Usage
$mixed = bw_trace2( $value, $text, $show_args, $level );Parameters
- $value
- ( mixed ) optional – the value to be traced. The value can be a simple field, array or complex object such as a post
- $text
- ( string ) optional – additional information
- $show_args
- ( bool ) optional default: 1 – true if the parameter values are to be traced, false otherwise
- $level
- ( integer ) optional default: BW_TRACE_ALWAYS – the trace level requested
Returns
mixed $value – the first parameterSource
File name: oik-libs/libs/bwtrace.phpLines:
1 to 8 of 8
function bw_trace2( $value=null, $text=null, $show_args=true, $level=BW_TRACE_ALWAYS ) { global $bw_trace_on, $bw_trace_level; if ( $bw_trace_on && ( $level <= $bw_trace_level ) ) { return( bw_lazy_trace2( $value, $text, $show_args, $level )); } else { return( $value ); } }View on GitHub
Called by
781 to 786 of 786
- _oik_tax_update_taxonomy() – Update an oik custom taxonomy
- _oik_themes_load_registered_themes() – Load registered themes
- _oik_x2t_update_x2t() – Update the taxonomy to type relationship
- _oik_x2t_x2t_row() – Display a current x2t mapping
- _oik_x2t_x2t_validate() – Validate the taxonomy to type relationship
- _sc__snippet() – Produce the HTML snippet of the shortcode output
Invoked by
Calls
1 to 1 of 1
