Automattic\WooCommerce\StoreApi\Exceptions
PartialOutOfStockException{}
PartialOutOfStockException class.
This exception is thrown when an item in a draft order has a quantity greater than what is available in stock.
Хуков нет.
Использование
$PartialOutOfStockException = new PartialOutOfStockException(); // use class methods
Методы
Нет Методов у класса.
Код PartialOutOfStockException{} PartialOutOfStockException{} WC 7.3.0
class PartialOutOfStockException extends StockAvailabilityException {}