WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

WC_Admin_Setup_Wizard::close_http_connection() protected WC 1.0

Finishes replying to the client, but keeps the process running for further (async) code execution.

Это метод класса: WC_Admin_Setup_Wizard{}

Хуков нет.

Возвращает

Null. Ничего.

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->close_http_connection();

Заметки

Код WC_Admin_Setup_Wizard::close_http_connection() WC 4.5.2

woocommerce/includes/admin/class-wc-admin-setup-wizard.php
<?php
protected function close_http_connection() {
	// Only 1 PHP process can access a session object at a time, close this so the next request isn't kept waiting.
	// @codingStandardsIgnoreStart
	if ( session_id() ) {
		session_write_close();
	}
	// @codingStandardsIgnoreEnd

	wc_set_time_limit( 0 );

	// fastcgi_finish_request is the cleanest way to send the response and keep the script running, but not every server has it.
	if ( is_callable( 'fastcgi_finish_request' ) ) {
		fastcgi_finish_request();
	} else {
		// Fallback: send headers and flush buffers.
		if ( ! headers_sent() ) {
			header( 'Connection: close' );
		}
		@ob_end_flush(); // @codingStandardsIgnoreLine.
		flush();
	}
}