WordPress at Your Fingertips
function is not described

WC_Install::remove_admin_notices() private WC 3.2.0

Reset any notices added to admin.

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

No Hooks.

Return

null. Nothing.

Usage

$result = WC_Install::remove_admin_notices();

Changelog

Since 3.2.0 Introduced.

Code of WC_Install::remove_admin_notices() WC 5.6.0

private static function remove_admin_notices() {
	include_once dirname( __FILE__ ) . '/admin/class-wc-admin-notices.php';
	WC_Admin_Notices::remove_all_notices();
}