Automattic\WooCommerce\Database\Migrations
TableMigrator::clear_errors()
Clear the error messages list.
Метод класса: TableMigrator{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->clear_errors(): void;
Код TableMigrator::clear_errors() TableMigrator::clear errors WC 9.7.1
protected function clear_errors(): void { $this->errors = array(); }