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