wp_ob_end_flush_all() WordPress Function
The wp_ob_end_flush_all() function is used to end output buffering and flush all buffers. This function is useful for debugging purposes.
wp_ob_end_flush_all() #
Flush all output buffers for PHP 5.2.
Description
Make sure all output buffers are flushed before our singletons are destroyed.
Source
File: wp-includes/functions.php
function wp_ob_end_flush_all() { $levels = ob_get_level(); for ( $i = 0; $i < $levels; $i++ ) { ob_end_flush(); } }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
2.2.0 | Introduced. |