@@ 1261-1269 (lines=9) @@ | ||
1258 | 'jetpack_premium_monthly', |
|
1259 | ); |
|
1260 | ||
1261 | if ( in_array( $plan['product_slug'], $premium_plans ) ) { |
|
1262 | $plan['supports'] = array( |
|
1263 | 'videopress', |
|
1264 | 'akismet', |
|
1265 | 'vaultpress', |
|
1266 | 'wordads', |
|
1267 | ); |
|
1268 | $plan['class'] = 'premium'; |
|
1269 | } |
|
1270 | ||
1271 | // Define what paid modules are supported by professional plans |
|
1272 | $business_plans = array( |
|
@@ 1277-1287 (lines=11) @@ | ||
1274 | 'jetpack_business_monthly', |
|
1275 | ); |
|
1276 | ||
1277 | if ( in_array( $plan['product_slug'], $business_plans ) ) { |
|
1278 | $plan['supports'] = array( |
|
1279 | 'videopress', |
|
1280 | 'akismet', |
|
1281 | 'vaultpress', |
|
1282 | 'seo-tools', |
|
1283 | 'google-analytics', |
|
1284 | 'wordads', |
|
1285 | ); |
|
1286 | $plan['class'] = 'business'; |
|
1287 | } |
|
1288 | ||
1289 | // Make sure we have an array here in the event database data is stale |
|
1290 | if ( ! isset( $plan['supports'] ) ) { |