A WordPress-centric search engine for devs and theme authors



wp_ob_end_flush_all ›

Since2.2.0
Deprecatedn/a
wp_ob_end_flush_all ( No parameters )
Defined at:
Codex:

Flush all output buffers for PHP 5.2.

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