WordPress at Your Fingertips
function is not described

WC_Product_CSV_Importer_Controller::normalize_columns_names() protected WC 1.0

Columns to normalize.

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

No Hooks.

Return

Array.

Usage

// protected - for code of main (parent) or child class
$result = $this->normalize_columns_names( $columns );
$columns(array) (required)
List of columns names and keys.

Code of WC_Product_CSV_Importer_Controller::normalize_columns_names() WC 5.9.0

protected function normalize_columns_names( $columns ) {
	$normalized = array();

	foreach ( $columns as $key => $value ) {
		$normalized[ strtolower( $key ) ] = $value;
	}

	return $normalized;
}