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