WC_Admin_Meta_Boxes::save_errors()publicWC 1.0

Save errors to an option.

Note that calling this will overwrite any errors that have already been stored via the Options API. Unless you are sure you want this, consider using the append_to_error_store() method instead.

Method of the class: WC_Admin_Meta_Boxes{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Admin_Meta_Boxes = new WC_Admin_Meta_Boxes();
$WC_Admin_Meta_Boxes->save_errors();

WC_Admin_Meta_Boxes::save_errors() code WC 8.7.0

public function save_errors() {
	update_option( self::ERROR_STORE, self::$meta_box_errors );
}