wp_ob_end_flush_all()
Flushes all output buffers for PHP 5.2.
Make sure all output buffers are flushed before our singletons are destroyed.
No Hooks.
Return
null
. Nothing (null).
Usage
wp_ob_end_flush_all();
Changelog
Since 2.2.0 | Introduced. |
wp_ob_end_flush_all() wp ob end flush all code WP 6.5.2
function wp_ob_end_flush_all() { $levels = ob_get_level(); for ( $i = 0; $i < $levels; $i++ ) { ob_end_flush(); } }