WC_Data_Exception::getErrorCode │ public │ WC 1.0

Returns the error code.

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

Хуков нет.

Возвращает

string.

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

$WC_Data_Exception = new WC_Data_Exception();
$WC_Data_Exception->getErrorCode();

Код WC_Data_Exception::getErrorCode() WC 11.2.2

public function getErrorCode() {
	return $this->error_code;
}