WC_CSV_Batch_Exporter::get_percent_complete()
Get total % complete.
Description Description
Return Return
(int)
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; }
Changelog Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |