Automattic\WooCommerce\Admin

ReportCSVExporter::write_page │ public │ WC 11.3.0

Write one page of an export that write_headers_row_file() finishes.

Method of the class: ReportCSVExporter{}

No Hooks.

Returns

bool. Whether the page's rows were written.

Usage

$ReportCSVExporter = new ReportCSVExporter();
$ReportCSVExporter->write_page();

Changelog

Since 11.3.0 Introduced.

ReportCSVExporter::write_page() code WC 11.3.0

public function write_page() {
	$written = $this->generate_file();

	$this->delete_headers_row_file();

	return $written;
}