| @@ 1391-1399 (lines=9) @@ | ||
| 1388 | 'value_bundle', |
|
| 1389 | ); |
|
| 1390 | ||
| 1391 | if ( in_array( $plan['product_slug'], $premium_plans ) ) { |
|
| 1392 | $plan['supports'] = array( |
|
| 1393 | 'videopress', |
|
| 1394 | 'akismet', |
|
| 1395 | 'vaultpress', |
|
| 1396 | 'wordads', |
|
| 1397 | ); |
|
| 1398 | $plan['class'] = 'premium'; |
|
| 1399 | } |
|
| 1400 | ||
| 1401 | // Define what paid modules are supported by professional plans |
|
| 1402 | $business_plans = array( |
|
| @@ 1408-1418 (lines=11) @@ | ||
| 1405 | 'business-bundle', |
|
| 1406 | ); |
|
| 1407 | ||
| 1408 | if ( in_array( $plan['product_slug'], $business_plans ) ) { |
|
| 1409 | $plan['supports'] = array( |
|
| 1410 | 'videopress', |
|
| 1411 | 'akismet', |
|
| 1412 | 'vaultpress', |
|
| 1413 | 'seo-tools', |
|
| 1414 | 'google-analytics', |
|
| 1415 | 'wordads', |
|
| 1416 | ); |
|
| 1417 | $plan['class'] = 'business'; |
|
| 1418 | } |
|
| 1419 | ||
| 1420 | // Make sure we have an array here in the event database data is stale |
|
| 1421 | if ( ! isset( $plan['supports'] ) ) { |
|