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.

Метод класса: ReportCSVExporter{}

No Hooks.

Return

Int. Percent complete.

Usage

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

Код ReportCSVExporter::get_percent_complete() WC 7.1.0

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