Use feature flag for the MSS Pitch feature

[MAILPOET-2142]
This commit is contained in:
Pavel Dohnal
2019-09-17 14:24:39 +02:00
committed by Jack Kitterhing
parent a222d91d71
commit 4154d0b928
7 changed files with 52 additions and 5 deletions

View File

@@ -12,6 +12,7 @@ class FeaturesController {
const SEND_WORDPRESS_MAILS_WITH_MP3 = 'send-wordpress-mails-with-mp3';
const NEW_PREMIUM_PAGE = 'new-premium-page';
const WC_TRANSACTIONAL_EMAILS_CUSTOMIZER = 'wc-transactional-emails-customizer';
const DISPLAY_MSS_PITCH = 'display-mss-pitch';
// Define feature defaults in the array below in the following form:
// self::FEATURE_NAME_OF_FEATURE => true,
@@ -20,6 +21,7 @@ class FeaturesController {
self::SEND_WORDPRESS_MAILS_WITH_MP3 => false,
self::NEW_PREMIUM_PAGE => false,
self::WC_TRANSACTIONAL_EMAILS_CUSTOMIZER => false,
self::DISPLAY_MSS_PITCH => false,
];
/** @var array */