Automattic\WooCommerce\Database\Migrations

MetaToCustomTableMigrator::process_migration_batch_for_ids_core()protectedWC 1.0

Migrate a batch of entities from the posts table to the corresponding table.

Method of the class: MetaToCustomTableMigrator{}

No Hooks.

Return

null. Nothing (null).

Usage

// protected - for code of main (parent) or child class
$result = $this->process_migration_batch_for_ids_core( $entity_ids ): void;
$entity_ids(array) (required)
Ids of entities to migrate.

MetaToCustomTableMigrator::process_migration_batch_for_ids_core() code WC 8.7.0

protected function process_migration_batch_for_ids_core( array $entity_ids ): void {
	$data = $this->fetch_sanitized_migration_data( $entity_ids );
	$this->process_migration_data( $data );
}