You appear to be a bot. Output may be restricted
Description
Add our error handler for Notice and Warning messagesNote: This function may replace an error handler that has been attached by another plugin. e.g. query-monitor.
Usage
bw_trace_add_error_handler();
Parameters
Returns
voidSource
File name: oik-bwtrace/includes/bwtrace-actions.phpLines:
1 to 8 of 8
function bw_trace_add_error_handler() { global $bw_action_options; $bw_trace_errors = bw_array_get( $bw_action_options, "trace_errors", false ); if ( $bw_trace_errors ) { $previous_error_handler = set_error_handler( "bw_trace_error_handler" ); bw_trace2( $previous_error_handler, "Previous error handler", false, BW_TRACE_DEBUG ); } }View on GitHub View on Trac