| @@ -23,10 +23,16 @@ | ||
| 23 | 23 | |
| 24 | 24 | return $json_data[0] ?? []; |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | - public function is_experiment_enabled( string $experiment_key, $force_request = false ): bool { | |
| 27 | + public function is_theme_selection_experiment_enabled( $force_request = false ): bool { | |
| 28 | 28 | $ab_testing_data = $this->get_ab_testing_data( $force_request ); |
| 29 | 29 | |
| 30 | - return $ab_testing_data['coreOnboarding'][ $experiment_key ] ?? false; | |
| 30 | + return $ab_testing_data['coreOnboardingThemeSelection'] ?? false; | |
| 31 | + } | |
| 32 | + | |
| 33 | + public function is_good_to_go_experiment_enabled( $force_request = false ): bool { | |
| 34 | + $ab_testing_data = $this->get_ab_testing_data( $force_request ); | |
| 35 | + | |
| 36 | + return $ab_testing_data['coreOnboardingGoodToGo'] ?? false; | |
| 31 | 37 | } |
| 32 | 38 | } |