| @@ 1290-1298 (lines=9) @@ | ||
| 1287 | 'jetpack_premium_monthly', |
|
| 1288 | ); |
|
| 1289 | ||
| 1290 | if ( in_array( $plan['product_slug'], $premium_plans ) ) { |
|
| 1291 | $plan['supports'] = array( |
|
| 1292 | 'videopress', |
|
| 1293 | 'akismet', |
|
| 1294 | 'vaultpress', |
|
| 1295 | 'wordads', |
|
| 1296 | ); |
|
| 1297 | $plan['class'] = 'premium'; |
|
| 1298 | } |
|
| 1299 | ||
| 1300 | // Define what paid modules are supported by professional plans |
|
| 1301 | $business_plans = array( |
|
| @@ 1306-1316 (lines=11) @@ | ||
| 1303 | 'jetpack_business_monthly', |
|
| 1304 | ); |
|
| 1305 | ||
| 1306 | if ( in_array( $plan['product_slug'], $business_plans ) ) { |
|
| 1307 | $plan['supports'] = array( |
|
| 1308 | 'videopress', |
|
| 1309 | 'akismet', |
|
| 1310 | 'vaultpress', |
|
| 1311 | 'seo-tools', |
|
| 1312 | 'google-analytics', |
|
| 1313 | 'wordads', |
|
| 1314 | ); |
|
| 1315 | $plan['class'] = 'business'; |
|
| 1316 | } |
|
| 1317 | ||
| 1318 | // Make sure we have an array here in the event database data is stale |
|
| 1319 | if ( ! isset( $plan['supports'] ) ) { |
|