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