WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\RestApi

Server::init() public WC 1.0

Hook into WordPress ready to init the REST API as needed.

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

No Hooks.

Return

null. Nothing.

Usage

$Server = new Server();
$Server->init();

Code of Server::init() WC 5.9.0

public function init() {
	add_action( 'rest_api_init', array( $this, 'register_rest_routes' ), 10 );
}