Automattic\WooCommerce\Database\Migrations

TableMigrator::process_migration_data()publicWC 1.0

Process migration data for a batch of entities.

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

Хуков нет.

Возвращает

Массив. Array of errors and exception if any.

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

$TableMigrator = new TableMigrator();
$TableMigrator->process_migration_data( $data );
$data(массив) (обязательный)
Data to be migrated. Should be of the form: array( 'data' => array( ... ) ) as returned by the fetch_sanitized_migration_data method.

Код TableMigrator::process_migration_data() WC 9.3.3

public function process_migration_data( array $data ) {
	throw new \Exception( 'Not implemented' );
}