| @@ 1252-1258 (lines=7) @@ | ||
| 1249 | 'jetpack_premium_monthly', |
|
| 1250 | ); |
|
| 1251 | ||
| 1252 | if ( in_array( $plan['product_slug'], $premium_plans ) ) { |
|
| 1253 | $plan['supports'] = array( |
|
| 1254 | 'videopress', |
|
| 1255 | 'akismet', |
|
| 1256 | 'vaultpress', |
|
| 1257 | ); |
|
| 1258 | } |
|
| 1259 | ||
| 1260 | // Define what paid modules are supported by professional plans |
|
| 1261 | $business_plans = array( |
|
| @@ 1266-1273 (lines=8) @@ | ||
| 1263 | 'jetpack_business_monthly', |
|
| 1264 | ); |
|
| 1265 | ||
| 1266 | if ( in_array( $plan['product_slug'], $business_plans ) ) { |
|
| 1267 | $plan['supports'] = array( |
|
| 1268 | 'videopress', |
|
| 1269 | 'akismet', |
|
| 1270 | 'vaultpress', |
|
| 1271 | 'seo-tools', |
|
| 1272 | ); |
|
| 1273 | } |
|
| 1274 | ||
| 1275 | // Make sure we have an array here in the event database data is stale |
|
| 1276 | if ( ! isset( $plan['supports'] ) ) { |
|