Automattic\WooCommerce\Internal\RestApi\Routes\V4\Orders
UpdateUtils::init
Initialize the update utils.
Method of the class: UpdateUtils{}
No Hooks.
Returns
null. Nothing (null).
Usage
$UpdateUtils = new UpdateUtils(); $UpdateUtils->init( $order_schema );
- $order_schema(OrderSchema) (required)
- The order schema.
UpdateUtils::init() UpdateUtils::init code WC 10.4.3
final public function init( OrderSchema $order_schema ) {
$this->order_schema = $order_schema;
}