Automattic\WooCommerce\Internal\DataStores\Orders

LegacyDataCleanup::is_flag_set()publicWC 1.0

Whether the user has initiated the cleanup process.

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

Хуков нет.

Возвращает

true|false. TRUE if the user has initiated the cleanup process, FALSE otherwise.

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

$LegacyDataCleanup = new LegacyDataCleanup();
$LegacyDataCleanup->is_flag_set();

Код LegacyDataCleanup::is_flag_set() WC 9.4.2

public function is_flag_set() {
	return $this->batch_processing->is_enqueued( self::class );
}