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