WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API

Init::__construct() public WC 1.0

Boostrap REST API.

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

No Hooks.

Return

null. Nothing.

Usage

$Init = new Init();
$Init->__construct();

Code of Init::__construct() WC 5.3.0

<?php
public function __construct() {
	// Hook in data stores.
	add_filter( 'woocommerce_data_stores', array( __CLASS__, 'add_data_stores' ) );
	// REST API extensions init.
	add_action( 'rest_api_init', array( $this, 'rest_api_init' ) );

	// Add currency symbol to orders endpoint response.
	add_filter( 'woocommerce_rest_prepare_shop_order_object', array( __CLASS__, 'add_currency_symbol_to_order_response' ) );
}