Automattic\WooCommerce\Database\Migrations

TableMigrator::clear_errors()protectedWC 1.0

Clear the error messages list.

Method of the class: TableMigrator{}

No Hooks.

Return

null. Nothing (null).

Usage

// protected - for code of main (parent) or child class
$result = $this->clear_errors(): void;

TableMigrator::clear_errors() code WC 8.7.0

protected function clear_errors(): void {
	$this->errors = array();
}