WC_Admin_Notices::store_notices()public staticWC 1.0

Store the locally cached notices to DB.

Method of the class: WC_Admin_Notices{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = WC_Admin_Notices::store_notices();

WC_Admin_Notices::store_notices() code WC 8.9.0

public static function store_notices() {
	update_option( 'woocommerce_admin_notices', self::get_notices() );
}