wp_ob_end_flush_all()
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 ob end flush all WP 6.9
function wp_ob_end_flush_all() {
$levels = ob_get_level();
for ( $i = 0; $i < $levels; $i++ ) {
ob_end_flush();
}
}