WordPress at Your Fingertips
function is not described

WC_Product_CSV_Importer::set_mapped_keys() protected WC 1.0

Set file mapped keys.

{} It's a method of the class: WC_Product_CSV_Importer{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Product_CSV_Importer::set_mapped_keys() WC 5.6.0

protected function set_mapped_keys() {
	$mapping = $this->params['mapping'];

	foreach ( $this->raw_keys as $key ) {
		$this->mapped_keys[] = isset( $mapping[ $key ] ) ? $mapping[ $key ] : $key;
	}
}