Automattic\WooCommerce\StoreApi\Exceptions

StockAvailabilityException::getAdditionalData()publicWC 1.0

Returns additional error data.

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

Хуков нет.

Возвращает

Массив.

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

$StockAvailabilityException = new StockAvailabilityException();
$StockAvailabilityException->getAdditionalData();

Код StockAvailabilityException::getAdditionalData() WC 7.1.0

public function getAdditionalData() {
	return $this->additional_data;
}