Automattic\WooCommerce\Database\Migrations

TableMigrator::clear_errors()protectedWC 1.0

Clear the error messages list.

Метод класса: TableMigrator{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->clear_errors(): void;

Код TableMigrator::clear_errors() WC 8.7.0

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