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.

Usage

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

TableMigrator::clear_errors() code WC 7.1.0

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