@@ 1278-1286 (lines=9) @@ | ||
1275 | 'jetpack_premium_monthly', |
|
1276 | ); |
|
1277 | ||
1278 | if ( in_array( $plan['product_slug'], $premium_plans ) ) { |
|
1279 | $plan['supports'] = array( |
|
1280 | 'videopress', |
|
1281 | 'akismet', |
|
1282 | 'vaultpress', |
|
1283 | 'wordads', |
|
1284 | ); |
|
1285 | $plan['class'] = 'premium'; |
|
1286 | } |
|
1287 | ||
1288 | // Define what paid modules are supported by professional plans |
|
1289 | $business_plans = array( |
|
@@ 1294-1304 (lines=11) @@ | ||
1291 | 'jetpack_business_monthly', |
|
1292 | ); |
|
1293 | ||
1294 | if ( in_array( $plan['product_slug'], $business_plans ) ) { |
|
1295 | $plan['supports'] = array( |
|
1296 | 'videopress', |
|
1297 | 'akismet', |
|
1298 | 'vaultpress', |
|
1299 | 'seo-tools', |
|
1300 | 'google-analytics', |
|
1301 | 'wordads', |
|
1302 | ); |
|
1303 | $plan['class'] = 'business'; |
|
1304 | } |
|
1305 | ||
1306 | // Make sure we have an array here in the event database data is stale |
|
1307 | if ( ! isset( $plan['supports'] ) ) { |