@@ 1527-1533 (lines=7) @@ | ||
1524 | 'value_bundle-2y', |
|
1525 | ); |
|
1526 | ||
1527 | if ( in_array( $plan['product_slug'], $premium_plans ) ) { |
|
1528 | $supports[] = 'akismet'; |
|
1529 | $supports[] = 'simple-payments'; |
|
1530 | $supports[] = 'vaultpress'; |
|
1531 | $supports[] = 'videopress'; |
|
1532 | $plan['class'] = 'premium'; |
|
1533 | } |
|
1534 | ||
1535 | // Define what paid modules are supported by professional plans |
|
1536 | $business_plans = array( |
|
@@ 1544-1550 (lines=7) @@ | ||
1541 | 'vip', |
|
1542 | ); |
|
1543 | ||
1544 | if ( in_array( $plan['product_slug'], $business_plans ) ) { |
|
1545 | $supports[] = 'akismet'; |
|
1546 | $supports[] = 'simple-payments'; |
|
1547 | $supports[] = 'vaultpress'; |
|
1548 | $supports[] = 'videopress'; |
|
1549 | $plan['class'] = 'business'; |
|
1550 | } |
|
1551 | ||
1552 | // get available features |
|
1553 | foreach ( self::get_available_modules() as $module_slug ) { |