WC_Install::remove_admin_notices()private staticWC 3.2.0

Reset any notices added to admin.

Method of the class: WC_Install{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = WC_Install::remove_admin_notices();

Changelog

Since 3.2.0 Introduced.

WC_Install::remove_admin_notices() code WC 9.4.2

private static function remove_admin_notices() {
	include_once __DIR__ . '/admin/class-wc-admin-notices.php';

	WC_Admin_Notices::remove_all_notices();
}