|  | @@ 146-153 (lines=8) @@ | 
                                                            
                                    | 143 |  | 			'value_bundle-2y', | 
                                                            
                                    | 144 |  | 		); | 
                                                            
                                    | 145 |  |  | 
                                                            
                                    | 146 |  | 		if ( in_array( $plan['product_slug'], $premium_plans, true ) ) { | 
                                                            
                                    | 147 |  | 			$supports[]    = 'akismet'; | 
                                                            
                                    | 148 |  | 			$supports[]    = 'recurring-payments'; | 
                                                            
                                    | 149 |  | 			$supports[]    = 'simple-payments'; | 
                                                            
                                    | 150 |  | 			$supports[]    = 'vaultpress'; | 
                                                            
                                    | 151 |  | 			$supports[]    = 'videopress'; | 
                                                            
                                    | 152 |  | 			$plan['class'] = 'premium'; | 
                                                            
                                    | 153 |  | 		} | 
                                                            
                                    | 154 |  |  | 
                                                            
                                    | 155 |  | 		// Define what paid modules are supported by professional plans. | 
                                                            
                                    | 156 |  | 		$business_plans = array( | 
                                                                                
                                |  | @@ 168-175 (lines=8) @@ | 
                                                            
                                    | 165 |  | 			'vip', | 
                                                            
                                    | 166 |  | 		); | 
                                                            
                                    | 167 |  |  | 
                                                            
                                    | 168 |  | 		if ( in_array( $plan['product_slug'], $business_plans, true ) ) { | 
                                                            
                                    | 169 |  | 			$supports[]    = 'akismet'; | 
                                                            
                                    | 170 |  | 			$supports[]    = 'recurring-payments'; | 
                                                            
                                    | 171 |  | 			$supports[]    = 'simple-payments'; | 
                                                            
                                    | 172 |  | 			$supports[]    = 'vaultpress'; | 
                                                            
                                    | 173 |  | 			$supports[]    = 'videopress'; | 
                                                            
                                    | 174 |  | 			$plan['class'] = 'business'; | 
                                                            
                                    | 175 |  | 		} | 
                                                            
                                    | 176 |  |  | 
                                                            
                                    | 177 |  | 		// get available features. | 
                                                            
                                    | 178 |  | 		foreach ( Jetpack::get_available_modules() as $module_slug ) { |