Automattic\WooCommerce\Proxies

LegacyProxy::exit │ public │ WC 1.0

Terminates execution of the script.

Метод класса: LegacyProxy{}

Хуков нет.

Возвращает

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

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

$LegacyProxy = new LegacyProxy();
$LegacyProxy->exit( $status );
$status(int|строка)
An error code to be returned, or an error message to be shown.
По умолчанию: ''

Код LegacyProxy::exit() WC 11.3.0

public function exit( $status = '' ) {
	// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
	exit( $status );
}