Automattic\WooCommerce\Internal\ProductDownloads\ApprovedDirectories

Synchronize::is_cancelled │ private │ WC 1.0

Indicates whether the current synchronization was cancelled.

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

Хуков нет.

Возвращает

null. Ничего (null).

Использование

// private - только в коде основоного (родительского) класса
$result = $this->is_cancelled(): bool;

Код Synchronize::is_cancelled() WC 11.2.2

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