WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Features

Settings::add_feature_toggle() public WC 1.0

Add the feature toggle to the features settings.

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

No Hooks.

Return

Array. Nothing.

Usage

$result = Settings::add_feature_toggle( $features );
$features(array) (required)
Feature sections.

Code of Settings::add_feature_toggle() WC 5.2.2

<?php
public static function add_feature_toggle( $features ) {
	$features[] = array(
		'title' => __( 'Settings', 'woocommerce' ),
		'desc'  => __(
			'Adds the new WooCommerce settings UI.',
			'woocommerce'
		),
		'id'    => 'woocommerce_settings_enabled',
		'type'  => 'checkbox',
	);

	return $features;
}