WC_CSV_Batch_Exporter::get_total_exported()publicWC 3.1.0

Get count of records exported.

Method of the class: WC_CSV_Batch_Exporter{}

No Hooks.

Return

Int.

Usage

$WC_CSV_Batch_Exporter = new WC_CSV_Batch_Exporter();
$WC_CSV_Batch_Exporter->get_total_exported();

Changelog

Since 3.1.0 Introduced.

WC_CSV_Batch_Exporter::get_total_exported() code WC 8.7.0

public function get_total_exported() {
	return ( ( $this->get_page() - 1 ) * $this->get_limit() ) + $this->exported_row_count;
}