| @@ 1371-1379 (lines=9) @@ | ||
| 1368 | 'value_bundle', |
|
| 1369 | ); |
|
| 1370 | ||
| 1371 | if ( in_array( $plan['product_slug'], $premium_plans ) ) { |
|
| 1372 | $plan['supports'] = array( |
|
| 1373 | 'videopress', |
|
| 1374 | 'akismet', |
|
| 1375 | 'vaultpress', |
|
| 1376 | 'wordads', |
|
| 1377 | ); |
|
| 1378 | $plan['class'] = 'premium'; |
|
| 1379 | } |
|
| 1380 | ||
| 1381 | // Define what paid modules are supported by professional plans |
|
| 1382 | $business_plans = array( |
|
| @@ 1388-1398 (lines=11) @@ | ||
| 1385 | 'business-bundle', |
|
| 1386 | ); |
|
| 1387 | ||
| 1388 | if ( in_array( $plan['product_slug'], $business_plans ) ) { |
|
| 1389 | $plan['supports'] = array( |
|
| 1390 | 'videopress', |
|
| 1391 | 'akismet', |
|
| 1392 | 'vaultpress', |
|
| 1393 | 'seo-tools', |
|
| 1394 | 'google-analytics', |
|
| 1395 | 'wordads', |
|
| 1396 | ); |
|
| 1397 | $plan['class'] = 'business'; |
|
| 1398 | } |
|
| 1399 | ||
| 1400 | // Make sure we have an array here in the event database data is stale |
|
| 1401 | if ( ! isset( $plan['supports'] ) ) { |
|