WordPress at a glance
function is not described

Automattic\WooCommerce\Admin

FeaturePlugin::replace_supported_features() public WC 1.0

Overwrites the allowed features array using a local feature-config.php file.

{} It's a method of the class: FeaturePlugin{}

Hooks from the method
Return

null. Nothing.

Usage

$FeaturePlugin = new FeaturePlugin();
$FeaturePlugin->replace_supported_features( $features );
$features(array) (required)
Array of feature slugs.

Code of FeaturePlugin::replace_supported_features() WC 5.3.0

<?php
public function replace_supported_features( $features ) {
	$feature_config = apply_filters( 'woocommerce_admin_get_feature_config', wc_admin_get_feature_config() );
	$features       = array_keys( array_filter( $feature_config ) );
	return $features;
}