| @@ 1263-1271 (lines=9) @@ | ||
| 1260 | 'jetpack_premium_monthly', |
|
| 1261 | ); |
|
| 1262 | ||
| 1263 | if ( in_array( $plan['product_slug'], $premium_plans ) ) { |
|
| 1264 | $plan['supports'] = array( |
|
| 1265 | 'videopress', |
|
| 1266 | 'akismet', |
|
| 1267 | 'vaultpress', |
|
| 1268 | 'wordads', |
|
| 1269 | ); |
|
| 1270 | $plan['class'] = 'premium'; |
|
| 1271 | } |
|
| 1272 | ||
| 1273 | // Define what paid modules are supported by professional plans |
|
| 1274 | $business_plans = array( |
|
| @@ 1279-1289 (lines=11) @@ | ||
| 1276 | 'jetpack_business_monthly', |
|
| 1277 | ); |
|
| 1278 | ||
| 1279 | if ( in_array( $plan['product_slug'], $business_plans ) ) { |
|
| 1280 | $plan['supports'] = array( |
|
| 1281 | 'videopress', |
|
| 1282 | 'akismet', |
|
| 1283 | 'vaultpress', |
|
| 1284 | 'seo-tools', |
|
| 1285 | 'google-analytics', |
|
| 1286 | 'wordads', |
|
| 1287 | ); |
|
| 1288 | $plan['class'] = 'business'; |
|
| 1289 | } |
|
| 1290 | ||
| 1291 | // Make sure we have an array here in the event database data is stale |
|
| 1292 | if ( ! isset( $plan['supports'] ) ) { |
|