Automattic\WooCommerce\Database\Migrations

TableMigrator::clear_errors()protectedWC 1.0

Clear the error messages list.

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

Хуков нет.

Возвращает

null. Ничего.

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

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

Код TableMigrator::clear_errors() WC 7.5.1

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