@@ 1608-1614 (lines=7) @@ | ||
1605 | 'value_bundle-2y', |
|
1606 | ); |
|
1607 | ||
1608 | if ( in_array( $plan['product_slug'], $premium_plans ) ) { |
|
1609 | $supports[] = 'akismet'; |
|
1610 | $supports[] = 'simple-payments'; |
|
1611 | $supports[] = 'vaultpress'; |
|
1612 | $supports[] = 'videopress'; |
|
1613 | $plan['class'] = 'premium'; |
|
1614 | } |
|
1615 | ||
1616 | // Define what paid modules are supported by professional plans |
|
1617 | $business_plans = array( |
|
@@ 1627-1633 (lines=7) @@ | ||
1624 | 'vip', |
|
1625 | ); |
|
1626 | ||
1627 | if ( in_array( $plan['product_slug'], $business_plans ) ) { |
|
1628 | $supports[] = 'akismet'; |
|
1629 | $supports[] = 'simple-payments'; |
|
1630 | $supports[] = 'vaultpress'; |
|
1631 | $supports[] = 'videopress'; |
|
1632 | $plan['class'] = 'business'; |
|
1633 | } |
|
1634 | ||
1635 | // get available features |
|
1636 | foreach ( self::get_available_modules() as $module_slug ) { |