WordPress at Your Fingertips
function is not described

WC_Data_Exception::getErrorCode() public WC 1.0

Returns the error code.

{} It's a method of the class: WC_Data_Exception{}

No Hooks.

Return

String.

Usage

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

Code of WC_Data_Exception::getErrorCode() WC 5.8.0

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