Automattic\WooCommerce\Internal\DataStores\Orders
OrdersTableDataStore::get_order_stock_reduced()
Helper getter for order_stock_reduced.
Method of the class: OrdersTableDataStore{}
No Hooks.
Return
true|false
. Whether stock was reduced.
Usage
$OrdersTableDataStore = new OrdersTableDataStore(); $OrdersTableDataStore->get_order_stock_reduced( $order );
- $order(\WC_Order) (required)
- Order object.
OrdersTableDataStore::get_order_stock_reduced() OrdersTableDataStore::get order stock reduced code WC 9.3.3
public function get_order_stock_reduced( $order ) { return $this->get_stock_reduced( $order ); }