Automattic\WooCommerce\Api

ApiException::getStatusCodepublicWC 1.0

Get the HTTP status code.

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

Хуков нет.

Возвращает

int.

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

$ApiException = new ApiException();
$ApiException->getStatusCode(): int;

Код ApiException::getStatusCode() WC 11.0.1

public function getStatusCode(): int {
	return $this->getCode();
}