Automattic\WooCommerce\Admin
ReportCSVExporter::get_percent_complete
Get total % complete.
Forces an int from parent::get_percent_complete(), which can return a float.
Method of the class: ReportCSVExporter{}
No Hooks.
Returns
Int. Percent complete.
Usage
$ReportCSVExporter = new ReportCSVExporter(); $ReportCSVExporter->get_percent_complete();
ReportCSVExporter::get_percent_complete() ReportCSVExporter::get percent complete code WC 10.5.0
public function get_percent_complete() {
return intval( parent::get_percent_complete() );
}