WordPress at a glance
function is not described

WC_REST_Settings_Controller::update_item() public WC 1.0

Update a setting.

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

No Hooks.

Return

WP_Error|WP_REST_Response.

Usage

$WC_REST_Settings_Controller = new WC_REST_Settings_Controller();
$WC_REST_Settings_Controller->update_item( $request );
$request(WP_REST_Request) (required)
Request data.

Code of WC_REST_Settings_Controller::update_item() WC 5.0.0

<?php
public function update_item( $request ) {
	$options_controller = new WC_REST_Setting_Options_Controller();
	$response           = $options_controller->update_item( $request );

	return $response;
}