Automattic\WooCommerce\Database\Migrations

TableMigrator::fetch_sanitized_migration_data()publicWC 1.0

Return data to be migrated for a batch of entities.

Method of the class: TableMigrator{}

No Hooks.

Return

Array[]. Data to be migrated. Would be of the form: array( 'data' => array( ... ), 'errors' => array( ... ) ).

Usage

$TableMigrator = new TableMigrator();
$TableMigrator->fetch_sanitized_migration_data( $entity_ids );
$entity_ids(array) (required)
Ids of entities to migrate.

TableMigrator::fetch_sanitized_migration_data() code WC 9.7.1

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