WC_API_Exception::getErrorCode()
Returns the error code
Description Description
Return Return
(string)
Source Source
File: includes/legacy/api/v2/class-wc-api-exception.php
public function getErrorCode() {
return $this->error_code;
}
Changelog Changelog
| Version | Description |
|---|---|
| 2.2 | Introduced. |