Automattic\WooCommerce\Internal\ProductDownloads\ApprovedDirectories

Synchronize::is_cancelled │ private │ WC 1.0

Indicates whether the current synchronization was cancelled.

Method of the class: Synchronize{}

No Hooks.

Returns

null. Nothing (null).

Usage

// private - for code of main (parent) class only
$result = $this->is_cancelled(): bool;

Synchronize::is_cancelled() code WC 11.1.2

private function is_cancelled(): bool {
	return (bool) get_option( self::SYNC_TASK_CANCELLED, false );
}