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
16 to 30 of 786
- bw_blogs() – Implement [bw_blogs] shortcode to list the blogs on the multisite
- bw_build_akismet_query_string() – Return the query_string to pass to Akismet given the fields in $fields and $_SERVER
- bw_build_overridden_type() – Build the overridden post_type definition
- bw_build_url() – Simulate http_build_url
- bw_callablefunction() – Return a callable function that can be invoked using call_user_func()
- bw_call_akismet() – Return true if the akismet call says the message is not spam
- bw_call_form_function() – Invoke the function to display the field in a form
- bw_call_validate_function() – Call the function to validate a field
- bw_check_domain() – Check if this is a valid domain
- bw_check_gitrepos() – Implement ‘pre_current_active_plugins’ to perform Git repo checking
- bw_check_metabox_field() – Check if the field should be displayed in the metabox
- bw_check_noderef_types() – Check if the post_type is mentioned in post_types
- bw_check_permalink() – See if this is a permalink
- bw_check_symlinks() – Implement ‘pre_current_active_plugins’ to perform symlink checking
- bw_clear_processed_posts() – Clear the array of processed posts
Invoked by
Calls
1 to 1 of 1
