WordPress at Your Fingertips
function is not described

WC_REST_Taxes_Controller::update_item() public WC 1.0

Update a single tax.

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

No Hooks.

Return

WP_Error|WP_REST_Response. The response, or an error.

Usage

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

Code of WC_REST_Taxes_Controller::update_item() WC 5.6.0

public function update_item( $request ) {
	$this->adjust_cities_and_postcodes( $request );

	return parent::update_item( $request );
}