Automattic\WooCommerce\Admin

ReportCSVExporter::get_percent_complete()publicWC 1.0

Get total % complete.

Forces an int from parent::get_percent_complete(), which can return a float.

Method of the class: ReportCSVExporter{}

No Hooks.

Return

Int. Percent complete.

Usage

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

ReportCSVExporter::get_percent_complete() code WC 9.0.1

public function get_percent_complete() {
	return intval( parent::get_percent_complete() );
}