WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API

Options::get_options() public WC 1.0

Gets an array of options and respective values.

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

No Hooks.

Return

Array. Options object with option values.

Usage

$Options = new Options();
$Options->get_options( $request );
$request(WP_REST_Request) (required)
Full details about the request.

Code of Options::get_options() WC 5.3.0

<?php
public function get_options( $request ) {
	$params  = explode( ',', $request['options'] );
	$options = array();

	if ( ! is_array( $params ) ) {
		return array();
	}

	foreach ( $params as $option ) {
		$options[ $option ] = get_option( $option );
	}

	return $options;
}