WP_CLI\Loggers
Execution::ob_start
Starts output buffering, using a callback to capture output from echo, print, printf (which write to the output buffer 'php://output' rather than STDOUT).
Метод класса: Execution{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Execution = new Execution(); $Execution->ob_start();
Код Execution::ob_start() Execution::ob start WP-CLI 2.13.0-alpha
public function ob_start() {
ob_start( [ $this, 'ob_start_callback' ], 1 );
}