Automattic\WooCommerce\Database\Migrations
TableMigrator::clear_errors()
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() TableMigrator::clear errors code WC 9.7.1
protected function clear_errors(): void { $this->errors = array(); }