WordPress at a glance
function is not described

Automattic\WooCommerce\Admin

Install::delete_obsolete_notes() protected WC 1.0

Delete obsolete notes.

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

Return

null. Nothing.

Usage

$result = Install::delete_obsolete_notes();

Code of Install::delete_obsolete_notes() WC 5.3.0

<?php
protected static function delete_obsolete_notes() {
	$obsolete_notes_names = array(
		'wc-admin-welcome-note',
		'wc-admin-store-notice-setting-moved',
		'wc-admin-store-notice-giving-feedback',
		'wc-admin-learn-more-about-product-settings',
		'wc-admin-onboarding-profiler-reminder',
		'wc-admin-historical-data',
		'wc-admin-review-shipping-settings',
		'wc-admin-home-screen-feedback',
		'wc-admin-effortless-payments-by-mollie',
	);

	$additional_obsolete_notes_names = apply_filters(
		'woocommerce_admin_obsolete_notes_names',
		array()
	);

	if ( is_array( $additional_obsolete_notes_names ) ) {
		$obsolete_notes_names = array_merge(
			$obsolete_notes_names,
			$additional_obsolete_notes_names
		);
	}

	Notes::delete_notes_with_name( $obsolete_notes_names );
}