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:
parent
cb2048004c
commit
c42fdb039c
|
@ -540,7 +540,7 @@ class FeaturesController {
|
||||||
return $features[ $feature_id ]['is_experimental'];
|
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 );
|
$feature_ids = array_merge( $mature_feature_ids, array( 'mature_features_end' ), $experimental_feature_ids );
|
||||||
|
|
||||||
foreach ( $feature_ids as $id ) {
|
foreach ( $feature_ids as $id ) {
|
||||||
|
|
Loading…
Reference in New Issue