| @@ 1361-1369 (lines=9) @@ | ||
| 1358 | 'value_bundle', |
|
| 1359 | ); |
|
| 1360 | ||
| 1361 | if ( in_array( $plan['product_slug'], $premium_plans ) ) { |
|
| 1362 | $plan['supports'] = array( |
|
| 1363 | 'videopress', |
|
| 1364 | 'akismet', |
|
| 1365 | 'vaultpress', |
|
| 1366 | 'wordads', |
|
| 1367 | ); |
|
| 1368 | $plan['class'] = 'premium'; |
|
| 1369 | } |
|
| 1370 | ||
| 1371 | // Define what paid modules are supported by professional plans |
|
| 1372 | $business_plans = array( |
|
| @@ 1378-1388 (lines=11) @@ | ||
| 1375 | 'business-bundle', |
|
| 1376 | ); |
|
| 1377 | ||
| 1378 | if ( in_array( $plan['product_slug'], $business_plans ) ) { |
|
| 1379 | $plan['supports'] = array( |
|
| 1380 | 'videopress', |
|
| 1381 | 'akismet', |
|
| 1382 | 'vaultpress', |
|
| 1383 | 'seo-tools', |
|
| 1384 | 'google-analytics', |
|
| 1385 | 'wordads', |
|
| 1386 | ); |
|
| 1387 | $plan['class'] = 'business'; |
|
| 1388 | } |
|
| 1389 | ||
| 1390 | // Make sure we have an array here in the event database data is stale |
|
| 1391 | if ( ! isset( $plan['supports'] ) ) { |
|