WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Notes

Notes::update_note() public WC 1.0

Update a note.

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

No Hooks.

Return

null. Nothing.

Usage

$result = Notes::update_note( $note, $requested_updates );
$note(Note) (required)
The note that will be updated.
$requested_updates(array) (required)
a list of requested updates.

Code of Notes::update_note() WC 5.3.0

<?php
public static function update_note( $note, $requested_updates ) {
	$note_changed = false;
	if ( isset( $requested_updates['status'] ) ) {
		$note->set_status( $requested_updates['status'] );
		$note_changed = true;
	}

	if ( isset( $requested_updates['date_reminder'] ) ) {
		$note->set_date_reminder( $requested_updates['date_reminder'] );
		$note_changed = true;
	}

	if ( isset( $requested_updates['is_deleted'] ) ) {
		$note->set_is_deleted( $requested_updates['is_deleted'] );
		$note_changed = true;
	}

	if ( $note_changed ) {
		$note->save();
	}
}