WC_CSV_Exporter::fputcsv()protectedWC 3.4.0

Write to the CSV file.

Method of the class: WC_CSV_Exporter{}

No Hooks.

Return

null. Nothing (null).

Usage

// protected - for code of main (parent) or child class
$result = $this->fputcsv( $buffer, $export_row );
$buffer(resource) (required)
Resource we are writing to.
$export_row(array) (required)
Row to export.

Changelog

Since 3.4.0 Introduced.

WC_CSV_Exporter::fputcsv() code WC 8.7.0

protected function fputcsv( $buffer, $export_row ) {
	fputcsv( $buffer, $export_row, $this->get_delimiter(), '"', "\0" ); // @codingStandardsIgnoreLine
}