Convert 'display_revenues' setting to feature flag
[MAILPOET-2008]
This commit is contained in:
@ -8,10 +8,12 @@ class FeaturesController {
|
||||
|
||||
// Define features below in the following form:
|
||||
// const FEATURE_NAME_OF_FEATURE = 'name-of-feature';
|
||||
const FEATURE_DISPLAY_WOOCOMMERCE_REVENUES = 'display-woocommerce-revenues'; // may also have 'display_revenues' setting
|
||||
|
||||
// Define feature defaults in the array below in the following form:
|
||||
// self::FEATURE_NAME_OF_FEATURE => true,
|
||||
public static $defaults = [
|
||||
self::FEATURE_DISPLAY_WOOCOMMERCE_REVENUES => true,
|
||||
];
|
||||
|
||||
/** @var array */
|
||||
|
Reference in New Issue
Block a user