@@ 1515-1520 (lines=6) @@ | ||
1512 | 'value_bundle-2y', |
|
1513 | ); |
|
1514 | ||
1515 | if ( in_array( $plan['product_slug'], $premium_plans ) ) { |
|
1516 | $supports[] = 'akismet'; |
|
1517 | $supports[] = 'simple-payments'; |
|
1518 | $supports[] = 'vaultpress'; |
|
1519 | $plan['class'] = 'premium'; |
|
1520 | } |
|
1521 | ||
1522 | // Define what paid modules are supported by professional plans |
|
1523 | $business_plans = array( |
|
@@ 1531-1536 (lines=6) @@ | ||
1528 | 'vip', |
|
1529 | ); |
|
1530 | ||
1531 | if ( in_array( $plan['product_slug'], $business_plans ) ) { |
|
1532 | $supports[] = 'akismet'; |
|
1533 | $supports[] = 'simple-payments'; |
|
1534 | $supports[] = 'vaultpress'; |
|
1535 | $plan['class'] = 'business'; |
|
1536 | } |
|
1537 | ||
1538 | // get available features |
|
1539 | foreach ( self::get_available_modules() as $module_slug ) { |