WC_CSV_Exporter::set_column_names( array $column_names )
Set column names.
Description Description
Parameters Parameters
- $column_names
-
(Required) Column names array.
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 ); } }
Changelog Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |