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.

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

No Hooks.


null. Nothing.


$WC_Admin_Meta_Boxes = new WC_Admin_Meta_Boxes();

Code of WC_Admin_Meta_Boxes::save_errors() WC 6.7.0

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