WordPress at Your Fingertips
function is not described

WC_Admin_Meta_Boxes::save_errors() public WC 1.0

Save errors to an option.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Admin_Meta_Boxes::save_errors() WC 5.8.0

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