WordPress开发者和主题制作者的搜索引擎



wp_ob_end_flush_all ›

Since2.2.0
已弃用n/a
wp_ob_end_flush_all ( 没有参数 )
定义在:
文档:

Flush all output buffers for PHP 5.2.

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



源码

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