WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Notes

Notes::delete_note() public WC 1.0

Soft delete of a note.

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

No Hooks.

Return

null. Nothing.

Usage

$result = Notes::delete_note( $note );
$note(Note) (required)
The note that will be deleted.

Code of Notes::delete_note() WC 5.3.0

<?php
public static function delete_note( $note ) {
	$note->set_is_deleted( 1 );
	$note->save();
}