| @@ 1244-1251 (lines=8) @@ | ||
| 1241 | 'jetpack_premium_monthly', | |
| 1242 | ); | |
| 1243 | ||
| 1244 | 		if ( in_array( $plan['product_slug'], $premium_plans ) ) { | |
| 1245 | $plan['supports'] = array( | |
| 1246 | 'videopress', | |
| 1247 | 'akismet', | |
| 1248 | 'vaultpress', | |
| 1249 | 'wordads', | |
| 1250 | ); | |
| 1251 | } | |
| 1252 | ||
| 1253 | // Define what paid modules are supported by professional plans | |
| 1254 | $business_plans = array( | |
| @@ 1259-1268 (lines=10) @@ | ||
| 1256 | 'jetpack_business_monthly', | |
| 1257 | ); | |
| 1258 | ||
| 1259 | 		if ( in_array( $plan['product_slug'], $business_plans ) ) { | |
| 1260 | $plan['supports'] = array( | |
| 1261 | 'videopress', | |
| 1262 | 'akismet', | |
| 1263 | 'vaultpress', | |
| 1264 | 'seo-tools', | |
| 1265 | 'google-analytics', | |
| 1266 | 'wordads', | |
| 1267 | ); | |
| 1268 | } | |
| 1269 | ||
| 1270 | // Make sure we have an array here in the event database data is stale | |
| 1271 | 		if ( ! isset( $plan['supports'] ) ) { | |