WC_Admin_Notices::store_notices()
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() WC Admin Notices::store notices code WC 9.6.1
public static function store_notices() { update_option( 'woocommerce_admin_notices', self::get_notices() ); }