WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Notes

WooSubscriptionsNotes::remove_notes() public WC 1.0

Clears all connection or subscription notes.

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

No Hooks.

Return

null. Nothing.

Usage

$WooSubscriptionsNotes = new WooSubscriptionsNotes();
$WooSubscriptionsNotes->remove_notes();

Code of WooSubscriptionsNotes::remove_notes() WC 5.3.0

<?php
public function remove_notes() {
	Notes::delete_notes_with_name( self::CONNECTION_NOTE_NAME );
	Notes::delete_notes_with_name( self::SUBSCRIPTION_NOTE_NAME );
}