wp_ob_end_flush_all()WP 2.2.0

Flushes all output buffers for PHP 5.2.

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

Хуков нет.

Возвращает

null. Ничего (null).

Использование

wp_ob_end_flush_all();

Список изменений

С версии 2.2.0 Введена.

Код wp_ob_end_flush_all() WP 6.4.3

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