Prevent displaying UI setting of the C&C Blocks

Currently, we don't desire displaying the C&C Blocks feature's settings.
We may choose otherwise in the future, but for the time being adding
the C&C Block to the list of features does the work!
This commit is contained in:
Saad Tarhi 2023-01-13 16:05:40 +01:00
parent cb2048004c
commit c42fdb039c
1 changed files with 1 additions and 1 deletions

View File

@ -540,7 +540,7 @@ class FeaturesController {
return $features[ $feature_id ]['is_experimental'];
}
);
$mature_feature_ids = array_diff( $feature_ids, $experimental_feature_ids );
$mature_feature_ids = array_diff( $feature_ids, $experimental_feature_ids, [ 'cart_checkout_blocks' ] );
$feature_ids = array_merge( $mature_feature_ids, array( 'mature_features_end' ), $experimental_feature_ids );
foreach ( $feature_ids as $id ) {