diff --git a/src/Domain/Bootstrap.php b/src/Domain/Bootstrap.php index b7944d36e35..d25b2e3334c 100644 --- a/src/Domain/Bootstrap.php +++ b/src/Domain/Bootstrap.php @@ -102,9 +102,7 @@ function() { $this->container->get( RestApi::class ); $this->container->get( GoogleAnalytics::class ); $this->container->get( BlockTypesController::class ); - if ( $this->package->feature()->is_experimental_build() ) { - $this->container->get( BlockTemplatesController::class ); - } + $this->container->get( BlockTemplatesController::class ); if ( $this->package->feature()->is_feature_plugin_build() ) { $this->container->get( PaymentsApi::class ); } @@ -231,14 +229,12 @@ function ( Container $container ) { return new BlockTypesController( $asset_api, $asset_data_registry ); } ); - if ( $this->package->feature()->is_experimental_build() ) { - $this->container->register( - BlockTemplatesController::class, - function ( Container $container ) { - return new BlockTemplatesController(); - } - ); - } + $this->container->register( + BlockTemplatesController::class, + function ( Container $container ) { + return new BlockTemplatesController(); + } + ); $this->container->register( DraftOrders::class, function( Container $container ) {