WC_Order_Data_Store_Interface::get_order_type()publicWC 1.0

Get the order type based on Order ID.

Метод класса: WC_Order_Data_Store_Interface{}

Хуков нет.

Возвращает

Строку.

Использование

$WC_Order_Data_Store_Interface = new WC_Order_Data_Store_Interface();
$WC_Order_Data_Store_Interface->get_order_type( $order_id );
$order_id(int) (обязательный)
Order ID.

Код WC_Order_Data_Store_Interface::get_order_type() WC 8.7.0

public function get_order_type( $order_id );