Skip to content

Commit

Permalink
Limit to BH
Browse files Browse the repository at this point in the history
  • Loading branch information
arunshenoy99 committed Aug 16, 2024
1 parent 1aaac90 commit 073045f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use NewfoldLabs\WP\Module\Data\SiteCapabilities;
use NewfoldLabs\WP\ModuleLoader\Container;
use WP_Forge\UpgradeHandler\UpgradeHandler;
use function NewfoldLabs\WP\ModuleLoader\container;

use function NewfoldLabs\WP\ModuleLoader\register as registerModule;

Expand Down Expand Up @@ -78,7 +79,7 @@ function ( $value ) {
add_filter(
'pre_set_transient_nfd_site_capabilities',
function ( $transient ) {
if ( empty( $transient ) ) {
if ( empty( $transient ) && 'bluehost' === container()->plugin()->brand ) {
return array(
'canMigrateSite' => true,
'hasAISiteGen' => true,
Expand Down

0 comments on commit 073045f

Please sign in to comment.