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