Skip to content

Commit

Permalink
Update SiteGenService.php
Browse files Browse the repository at this point in the history
  • Loading branch information
officiallygod authored Nov 21, 2024
1 parent 6926244 commit 1378dfc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions includes/Services/SiteGenService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}


Expand Down

0 comments on commit 1378dfc

Please sign in to comment.