Automattic\WooCommerce\RestApi\Routes\V4\Orders

UpdateUtils::initpublicWC 1.0

Initialize the update utils.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

$UpdateUtils = new UpdateUtils();
$UpdateUtils->init( $order_schema );
$order_schema(OrderSchema) (обязательный)
The order schema.

Код UpdateUtils::init() WC 10.3.6

final public function init( OrderSchema $order_schema ) {
	$this->order_schema = $order_schema;
}