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