WC_CSV_Exporter::fputcsv()protectedWC 3.4.0

Write to the CSV file.

Метод класса: WC_CSV_Exporter{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->fputcsv( $buffer, $export_row );
$buffer(resource) (обязательный)
Resource we are writing to.
$export_row(массив) (обязательный)
Row to export.

Список изменений

С версии 3.4.0 Введена.

Код WC_CSV_Exporter::fputcsv() WC 8.7.0

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