From e31c0243f6168a2755d710ecd116115aa8881c5c Mon Sep 17 00:00:00 2001 From: arunshenoy99 Date: Tue, 7 Nov 2023 22:51:28 +0530 Subject: [PATCH] Add SiteGen flow brand wise --- includes/Brands.php | 5 +++++ includes/Flows/Flows.php | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/includes/Brands.php b/includes/Brands.php index 8adab6f..be3615a 100644 --- a/includes/Brands.php +++ b/includes/Brands.php @@ -103,6 +103,7 @@ public static function get_brands() { 'enabled_flows' => array( 'ecommerce' => true, 'wp-setup' => true, + 'sitegen' => true, ), 'wonder_blocks' => true, 'prioritization' => false, @@ -165,6 +166,7 @@ public static function get_brands() { 'enabled_flows' => array( 'ecommerce' => true, 'wp-setup' => false, + 'sitegen' => false, ), 'wonder_blocks' => true, 'prioritization' => false, @@ -225,6 +227,7 @@ public static function get_brands() { 'enabled_flows' => array( 'ecommerce' => false, 'wp-setup' => false, + 'sitegen' => false, ), 'wonder_blocks' => true, 'prioritization' => false, @@ -285,6 +288,7 @@ public static function get_brands() { 'enabled_flows' => array( 'ecommerce' => true, 'wp-setup' => true, + 'sitegen' => false, ), 'wonder_blocks' => true, 'prioritization' => false, @@ -352,6 +356,7 @@ public static function get_brands() { 'enabled_flows' => array( 'ecommerce' => true, 'wp-setup' => true, + 'sitegen' => false, ), 'wonder_blocks' => true, 'prioritization' => false, diff --git a/includes/Flows/Flows.php b/includes/Flows/Flows.php index eea9af1..251cb88 100644 --- a/includes/Flows/Flows.php +++ b/includes/Flows/Flows.php @@ -16,7 +16,7 @@ final class Flows { * @var array */ protected static $data = array( - 'version' => '1.0.3', + 'version' => '1.0.4', // Each time step is viewed, insert GMT timestamp to array. 'isViewed' => array(), @@ -132,6 +132,8 @@ final class Flows { 'product_types' => array(), ), ), + + 'siteGen' => array(), ); /**