| @@ 1236-1242 (lines=7) @@ | ||
| 1233 | 'jetpack_premium_monthly', |
|
| 1234 | ); |
|
| 1235 | ||
| 1236 | if ( in_array( $plan['product_slug'], $premium_plans ) ) { |
|
| 1237 | $plan['supports'] = array( |
|
| 1238 | 'videopress', |
|
| 1239 | 'akismet', |
|
| 1240 | 'vaultpress', |
|
| 1241 | ); |
|
| 1242 | } |
|
| 1243 | ||
| 1244 | // Define what paid modules are supported by professional plans |
|
| 1245 | $business_plans = array( |
|
| @@ 1250-1257 (lines=8) @@ | ||
| 1247 | 'jetpack_business_monthly', |
|
| 1248 | ); |
|
| 1249 | ||
| 1250 | if ( in_array( $plan['product_slug'], $business_plans ) ) { |
|
| 1251 | $plan['supports'] = array( |
|
| 1252 | 'videopress', |
|
| 1253 | 'akismet', |
|
| 1254 | 'vaultpress', |
|
| 1255 | 'seo-tools', |
|
| 1256 | ); |
|
| 1257 | } |
|
| 1258 | ||
| 1259 | // Make sure we have an array here in the event database data is stale |
|
| 1260 | if ( ! isset( $plan['supports'] ) ) { |
|