Automattic\WooCommerce\Database\Migrations\CustomOrderTable
PostToOrderOpTableMigrator::get_core_column_mapping
Get columns config.
Method of the class: PostToOrderOpTableMigrator{}
No Hooks.
Returns
\String[][]. Config.
Usage
// protected - for code of main (parent) or child class $result = $this->get_core_column_mapping(): array;
PostToOrderOpTableMigrator::get_core_column_mapping() PostToOrderOpTableMigrator::get core column mapping code WC 10.5.0
protected function get_core_column_mapping(): array {
return array(
'ID' => array(
'type' => 'int',
'destination' => 'order_id',
),
);
}