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