WordPress at Your Fingertips
function is not described

wc_delete_order_note() WC 3.2.0

Delete an order note.

No Hooks.

Return

true|false. True on success, false on failure.

Usage

wc_delete_order_note( $note_id );
$note_id(int) (required)
Order note.

Changelog

Since 3.2.0 Introduced.

Code of wc_delete_order_note() WC 5.8.0

function wc_delete_order_note( $note_id ) {
	return wp_delete_comment( $note_id, true );
}