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