From 1378dfc6264d3cc1e41095649a7ec2ae93807d65 Mon Sep 17 00:00:00 2001 From: Allen Benny <48691514+officiallygod@users.noreply.github.com> Date: Thu, 21 Nov 2024 14:08:14 +0530 Subject: [PATCH] Update SiteGenService.php --- includes/Services/SiteGenService.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/Services/SiteGenService.php b/includes/Services/SiteGenService.php index cb018cd..b01842f 100644 --- a/includes/Services/SiteGenService.php +++ b/includes/Services/SiteGenService.php @@ -88,8 +88,7 @@ public static function is_enabled() { if ( ! ( class_exists( 'NewfoldLabs\WP\Module\AI\SiteGen\SiteGen' ) ) ) { return false; } - return isset( Data::current_brand()['config']['enabled_flows']['sitegen'] ) - && true === Data::current_brand()['config']['enabled_flows']['sitegen']; + return true; }