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