WordPress at Your Fingertips
function is not described

WC_Admin_Notices::remove_all_notices() public WC 1.0

Remove all notices.

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

No Hooks.

Return

null. Nothing.

Usage

$result = WC_Admin_Notices::remove_all_notices();

Code of WC_Admin_Notices::remove_all_notices() WC 5.9.0

public static function remove_all_notices() {
	self::$notices = array();
}