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();
	}
}

Changelog

Version Description
2.2.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_ob_end_flush_all