Automattic\WooCommerce\Internal\ProductDownloads\ApprovedDirectories
Synchronize::get_progress()
Returns a value between 0 and 100 representing the percentage complete of the current sync.
Method of the class: Synchronize{}
No Hooks.
Return
Int
.
Usage
$Synchronize = new Synchronize(); $Synchronize->get_progress(): int;
Synchronize::get_progress() Synchronize::get progress code WC 9.5.1
public function get_progress(): int { return min( 100, max( 0, (int) get_option( self::SYNC_TASK_PROGRESS, 0 ) ) ); }