Skip to content

Commit eecf120

Browse files
committed
Add feature flag for Order Creation
1 parent f2778a7 commit eecf120

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Experiments/Experiments/DefaultFeatureFlagService.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ public struct DefaultFeatureFlagService: FeatureFlagService {
2727
return buildConfig == .localDeveloper || buildConfig == .alpha
2828
case .jetpackConnectionPackageSupport:
2929
return buildConfig == .localDeveloper || buildConfig == .alpha
30+
case .orderCreation:
31+
return buildConfig == .localDeveloper || buildConfig == .alpha
3032
default:
3133
return true
3234
}

Experiments/Experiments/FeatureFlag.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,8 @@ public enum FeatureFlag: Int {
5353
/// Allows sites with plugins that include Jetpack Connection Package and without Jetpack-the-plugin to connect to the app
5454
///
5555
case jetpackConnectionPackageSupport
56+
57+
/// Allows new orders to be manually created
58+
///
59+
case orderCreation
5660
}

0 commit comments

Comments
 (0)