Automattic\WooCommerce\Internal\Admin

Analytics::add_feature_toggle │ public static │ WC 1.0

Deprecated since 7.0. It is no longer supported and may be removed in future releases. See FeaturesController class).

Add the feature toggle to the features settings.

Method of the class: Analytics{}

No Hooks.

Returns

array.

Usage

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

Changelog

Deprecated since 7.0 The WooCommerce Admin features are now handled by the WooCommerce features engine (see the FeaturesController class).

Analytics::add_feature_toggle() code WC 11.1.2

public static function add_feature_toggle( $features ) {
	return $features;
}