| @@ 1356-1364 (lines=9) @@ | ||
| 1353 | 'value_bundle', |
|
| 1354 | ); |
|
| 1355 | ||
| 1356 | if ( in_array( $plan['product_slug'], $premium_plans ) ) { |
|
| 1357 | $plan['supports'] = array( |
|
| 1358 | 'videopress', |
|
| 1359 | 'akismet', |
|
| 1360 | 'vaultpress', |
|
| 1361 | 'wordads', |
|
| 1362 | ); |
|
| 1363 | $plan['class'] = 'premium'; |
|
| 1364 | } |
|
| 1365 | ||
| 1366 | // Define what paid modules are supported by professional plans |
|
| 1367 | $business_plans = array( |
|
| @@ 1373-1383 (lines=11) @@ | ||
| 1370 | 'business-bundle', |
|
| 1371 | ); |
|
| 1372 | ||
| 1373 | if ( in_array( $plan['product_slug'], $business_plans ) ) { |
|
| 1374 | $plan['supports'] = array( |
|
| 1375 | 'videopress', |
|
| 1376 | 'akismet', |
|
| 1377 | 'vaultpress', |
|
| 1378 | 'seo-tools', |
|
| 1379 | 'google-analytics', |
|
| 1380 | 'wordads', |
|
| 1381 | ); |
|
| 1382 | $plan['class'] = 'business'; |
|
| 1383 | } |
|
| 1384 | ||
| 1385 | // Make sure we have an array here in the event database data is stale |
|
| 1386 | if ( ! isset( $plan['supports'] ) ) { |
|