wp_ob_end_flush_all()

In this article

Flushes all output buffers for PHP 5.2.

Description

Make sure all output buffers are flushed before our singletons are destroyed.

Source

function wp_ob_end_flush_all() {
	$levels = ob_get_level();
	for ( $i = 0; $i < $levels; $i++ ) {
		ob_end_flush();
	}
}

Changelog

VersionDescription
2.2.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.