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