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