@@ 1521-1527 (lines=7) @@ | ||
1518 | 'value_bundle-2y', |
|
1519 | ); |
|
1520 | ||
1521 | if ( in_array( $plan['product_slug'], $premium_plans ) ) { |
|
1522 | $supports[] = 'akismet'; |
|
1523 | $supports[] = 'simple-payments'; |
|
1524 | $supports[] = 'vaultpress'; |
|
1525 | $supports[] = 'videopress'; |
|
1526 | $plan['class'] = 'premium'; |
|
1527 | } |
|
1528 | ||
1529 | // Define what paid modules are supported by professional plans |
|
1530 | $business_plans = array( |
|
@@ 1538-1544 (lines=7) @@ | ||
1535 | 'vip', |
|
1536 | ); |
|
1537 | ||
1538 | if ( in_array( $plan['product_slug'], $business_plans ) ) { |
|
1539 | $supports[] = 'akismet'; |
|
1540 | $supports[] = 'simple-payments'; |
|
1541 | $supports[] = 'vaultpress'; |
|
1542 | $supports[] = 'videopress'; |
|
1543 | $plan['class'] = 'business'; |
|
1544 | } |
|
1545 | ||
1546 | // get available features |
|
1547 | foreach ( self::get_available_modules() as $module_slug ) { |