WC_Order_Data_Store_Interface::get_order_type()
Get the order type based on Order ID.
Method of the class: WC_Order_Data_Store_Interface{}
No Hooks.
Return
String
.
Usage
$WC_Order_Data_Store_Interface = new WC_Order_Data_Store_Interface(); $WC_Order_Data_Store_Interface->get_order_type( $order_id );
- $order_id(int) (required)
- Order ID.
WC_Order_Data_Store_Interface::get_order_type() WC Order Data Store Interface::get order type code WC 8.7.0
public function get_order_type( $order_id );