Automattic\WooCommerce\Internal\DataStores\Orders
LegacyDataCleanup::is_flag_set
Whether the user has initiated the cleanup process.
Method of the class: LegacyDataCleanup{}
No Hooks.
Returns
true|false. TRUE if the user has initiated the cleanup process, FALSE otherwise.
Usage
$LegacyDataCleanup = new LegacyDataCleanup(); $LegacyDataCleanup->is_flag_set();
LegacyDataCleanup::is_flag_set() LegacyDataCleanup::is flag set code WC 10.3.5
public function is_flag_set() {
return $this->batch_processing->is_enqueued( self::class );
}