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