WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API

SettingOptions::batch_items() public WC 1.0

Invalidates API cache when updating settings options.

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

No Hooks.

Return

Array. Of WP_Error or WP_REST_Response.

Usage

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

Code of SettingOptions::batch_items() WC 5.2.2

<?php
public function batch_items( $request ) {
	// Invalidate the API cache.
	ReportsCache::invalidate();

	// Process the request.
	return parent::batch_items( $request );
}