Use the Trace 'shutdown' output buffer
action to view the contents of any output buffer that hasn’t been flushed by ‘shutdown’.
Trace records are produced if zlib.output_compression
is not set.
- Output from ob_get_status()
- Buffered content if there is any.
- The contents of the global variable
$theme_ob_stack
.
Example
C:\apache\htdocs\wordpress\wp-content\plugins\oik-bwtrace\includes\oik-actions.php(46:0) bw_trace_output_buffer(1) 73 0 2019-12-04T16:42:07+00:00 0.462947 0.009615 cf=shutdown 45 0 8388608/8388608 256M F=683 output buffer status Array ( ) @#:0 573 0 C:\apache\htdocs\wordpress\wp-content\plugins\oik-bwtrace\includes\oik-actions.php(56:0) bw_trace_output_buffer(2) 74 0 2019-12-04T16:42:07+00:00 0.463191 0.000244 cf=shutdown 45 0 8388608/8388608 256M F=683 theme_ob_stack
Notes
- See bw_trace_output_buffer()