WC_CSV_Batch_Exporter::get_percent_complete()

Get total % complete.


Description Description


Return Return

(int)


Top ↑

Source Source

File: includes/export/abstract-wc-csv-batch-exporter.php

	public function get_percent_complete() {
		return $this->total_rows ? floor( ( $this->get_total_exported() / $this->total_rows ) * 100 ) : 100;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.1.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.