| @@ 1411-1419 (lines=9) @@ | ||
| 1408 | 'value_bundle', |
|
| 1409 | ); |
|
| 1410 | ||
| 1411 | if ( in_array( $plan['product_slug'], $premium_plans ) ) { |
|
| 1412 | $plan['supports'] = array( |
|
| 1413 | 'videopress', |
|
| 1414 | 'akismet', |
|
| 1415 | 'vaultpress', |
|
| 1416 | 'wordads', |
|
| 1417 | ); |
|
| 1418 | $plan['class'] = 'premium'; |
|
| 1419 | } |
|
| 1420 | ||
| 1421 | // Define what paid modules are supported by professional plans |
|
| 1422 | $business_plans = array( |
|
| @@ 1428-1438 (lines=11) @@ | ||
| 1425 | 'business-bundle', |
|
| 1426 | ); |
|
| 1427 | ||
| 1428 | if ( in_array( $plan['product_slug'], $business_plans ) ) { |
|
| 1429 | $plan['supports'] = array( |
|
| 1430 | 'videopress', |
|
| 1431 | 'akismet', |
|
| 1432 | 'vaultpress', |
|
| 1433 | 'seo-tools', |
|
| 1434 | 'google-analytics', |
|
| 1435 | 'wordads', |
|
| 1436 | ); |
|
| 1437 | $plan['class'] = 'business'; |
|
| 1438 | } |
|
| 1439 | ||
| 1440 | // Make sure we have an array here in the event database data is stale |
|
| 1441 | if ( ! isset( $plan['supports'] ) ) { |
|