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