WC_Order_Data_Store_CPT::get_order_stock_reduced()
Stores information about whether stock was reduced.
Method of the class: WC_Order_Data_Store_CPT{}
No Hooks.
Return
true|false
.
Usage
$WC_Order_Data_Store_CPT = new WC_Order_Data_Store_CPT(); $WC_Order_Data_Store_CPT->get_order_stock_reduced( $order );
- $order(WC_Order|int) (required)
- Order ID or order object.
WC_Order_Data_Store_CPT::get_order_stock_reduced() WC Order Data Store CPT::get order stock reduced code WC 9.4.2
public function get_order_stock_reduced( $order ) { return $this->get_stock_reduced( $order ); }