WordPress at Your Fingertips
function is not described

WC_Order_Data_Store_Interface::get_order_type() public WC 1.0

Get the order type based on Order ID.

{} It's a 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.

Code of WC_Order_Data_Store_Interface::get_order_type() WC 5.5.2

<?php
public function get_order_type( $order_id );