woocommerce_admin_obsolete_notes_names filter-hookWC 6.5.0

An array of deprecated notes to delete on update.

Usage

add_filter( 'woocommerce_admin_obsolete_notes_names', 'wp_kama_woocommerce_admin_obsolete_notes_names_filter' );

/**
 * Function for `woocommerce_admin_obsolete_notes_names` filter-hook.
 * 
 * @param  $array 
 *
 * @return 
 */
function wp_kama_woocommerce_admin_obsolete_notes_names_filter( $array ){

	// filter...
	return $array;
}
$array
-

Changelog

Since 6.5.0 Introduced.

Where the hook is called

WC_Install::delete_obsolete_notes()
woocommerce_admin_obsolete_notes_names
woocommerce/includes/class-wc-install.php 1027-1030
$additional_obsolete_notes_names = apply_filters(
	'woocommerce_admin_obsolete_notes_names',
	array()
);

Where the hook is used in WooCommerce

Usage not found.