WordPress at Your Fingertips
function is not described

WC_Product_CSV_Importer_Controller::get_special_columns() protected WC 1.0

Get special columns.

{} 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->get_special_columns( $columns );
$columns(array) (required)
Raw special columns.

Code of WC_Product_CSV_Importer_Controller::get_special_columns() WC 5.9.0

protected function get_special_columns( $columns ) {
	$formatted = array();

	foreach ( $columns as $key => $value ) {
		$regex = $this->sanitize_special_column_name_regex( $key );

		$formatted[ $regex ] = $value;
	}

	return $formatted;
}