| @@ 1309-1317 (lines=9) @@ | ||
| 1306 | 'value_bundle', |
|
| 1307 | ); |
|
| 1308 | ||
| 1309 | if ( in_array( $plan['product_slug'], $premium_plans ) ) { |
|
| 1310 | $plan['supports'] = array( |
|
| 1311 | 'videopress', |
|
| 1312 | 'akismet', |
|
| 1313 | 'vaultpress', |
|
| 1314 | 'wordads', |
|
| 1315 | ); |
|
| 1316 | $plan['class'] = 'premium'; |
|
| 1317 | } |
|
| 1318 | ||
| 1319 | // Define what paid modules are supported by professional plans |
|
| 1320 | $business_plans = array( |
|
| @@ 1326-1336 (lines=11) @@ | ||
| 1323 | 'business-bundle', |
|
| 1324 | ); |
|
| 1325 | ||
| 1326 | if ( in_array( $plan['product_slug'], $business_plans ) ) { |
|
| 1327 | $plan['supports'] = array( |
|
| 1328 | 'videopress', |
|
| 1329 | 'akismet', |
|
| 1330 | 'vaultpress', |
|
| 1331 | 'seo-tools', |
|
| 1332 | 'google-analytics', |
|
| 1333 | 'wordads', |
|
| 1334 | ); |
|
| 1335 | $plan['class'] = 'business'; |
|
| 1336 | } |
|
| 1337 | ||
| 1338 | // Make sure we have an array here in the event database data is stale |
|
| 1339 | if ( ! isset( $plan['supports'] ) ) { |
|