Automattic\WooCommerce\Database\Migrations\CustomOrderTable

PostToOrderOpTableMigrator::get_core_column_mapping()protectedWC 1.0

Get columns config.

Method of the class: PostToOrderOpTableMigrator{}

No Hooks.

Return

\String[][]. Config.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_core_column_mapping(): array;

PostToOrderOpTableMigrator::get_core_column_mapping() code WC 8.7.0

protected function get_core_column_mapping(): array {
	return array(
		'ID' => array(
			'type'        => 'int',
			'destination' => 'order_id',
		),
	);
}