Automattic\WooCommerce\Database\Migrations\CustomOrderTable

PostToOrderOpTableMigrator::get_core_column_mapping()protectedWC 1.0

Get columns config.

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

No Hooks.

Return

\String[][]. Config.

Usage

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

Code of PostToOrderOpTableMigrator::get_core_column_mapping() WC 7.1.0

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