WC_CSV_Exporter::export()publicWC 3.1.0

Do the export.

Method of the class: WC_CSV_Exporter{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_CSV_Exporter = new WC_CSV_Exporter();
$WC_CSV_Exporter->export();

Changelog

Since 3.1.0 Introduced.

WC_CSV_Exporter::export() code WC 8.6.1

public function export() {
	$this->prepare_data_to_export();
	$this->send_headers();
	$this->send_content( chr( 239 ) . chr( 187 ) . chr( 191 ) . $this->export_column_headers() . $this->get_csv_data() );
	die();
}