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