Skip to content

Commit

Permalink
Merge pull request #123 from newfold-labs/fix/sitegen-not-working-issue
Browse files Browse the repository at this point in the history
`SiteGen` not working Issue
  • Loading branch information
officiallygod authored Nov 21, 2024
2 parents 0cfa0ce + e186f1c commit acec6b8
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 acec6b8

Please sign in to comment.