Automattic\WooCommerce\Internal\ProductDownloads\ApprovedDirectories
Synchronize::is_cancelled
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() Synchronize::is cancelled code WC 11.1.2
private function is_cancelled(): bool {
return (bool) get_option( self::SYNC_TASK_CANCELLED, false );
}