| @@ 1337-1345 (lines=9) @@ | ||
| 1334 | 'value_bundle', |
|
| 1335 | ); |
|
| 1336 | ||
| 1337 | if ( in_array( $plan['product_slug'], $premium_plans ) ) { |
|
| 1338 | $plan['supports'] = array( |
|
| 1339 | 'videopress', |
|
| 1340 | 'akismet', |
|
| 1341 | 'vaultpress', |
|
| 1342 | 'wordads', |
|
| 1343 | ); |
|
| 1344 | $plan['class'] = 'premium'; |
|
| 1345 | } |
|
| 1346 | ||
| 1347 | // Define what paid modules are supported by professional plans |
|
| 1348 | $business_plans = array( |
|
| @@ 1354-1364 (lines=11) @@ | ||
| 1351 | 'business-bundle', |
|
| 1352 | ); |
|
| 1353 | ||
| 1354 | if ( in_array( $plan['product_slug'], $business_plans ) ) { |
|
| 1355 | $plan['supports'] = array( |
|
| 1356 | 'videopress', |
|
| 1357 | 'akismet', |
|
| 1358 | 'vaultpress', |
|
| 1359 | 'seo-tools', |
|
| 1360 | 'google-analytics', |
|
| 1361 | 'wordads', |
|
| 1362 | ); |
|
| 1363 | $plan['class'] = 'business'; |
|
| 1364 | } |
|
| 1365 | ||
| 1366 | // Make sure we have an array here in the event database data is stale |
|
| 1367 | if ( ! isset( $plan['supports'] ) ) { |
|