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