WordPress at a glance
function is not described

WC_API_Orders::create_base_order() protected WC 2.3

Creates new WC_Order.

Requires a separate function for classes that extend WC_API_Orders.

{} It's a method of the class: WC_API_Orders{}

No Hooks.

Return

WC_Order.

Usage

// protected - for code of main (parent) or child class
$result = $this->create_base_order( $args, $data );
$args (required)
-
$data (required)
-

Changelog

Since 2.3 Introduced.

Code of WC_API_Orders::create_base_order() WC 5.0.0

<?php
protected function create_base_order( $args, $data ) {
	return wc_create_order( $args );
}