WC_CSV_Exporter::set_column_names( array $column_names )

Set column names.


Description Description


Parameters Parameters

$column_names

(Required) Column names array.


Top ↑

Source Source

File: includes/export/abstract-wc-csv-exporter.php

	public function set_column_names( $column_names ) {
		$this->column_names = array();

		foreach ( $column_names as $column_id => $column_name ) {
			$this->column_names[ wc_clean( $column_id ) ] = wc_clean( $column_name );
		}
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.1.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.