Automattic\WooCommerce\Internal\Admin

Analytics::add_feature_toggle()public staticWC 1.0

Deprecated from version 7.0. It is no longer supported and can be removed in future releases. See FeaturesController class).

Add the feature toggle to the features settings.

Method of the class: Analytics{}

No Hooks.

Return

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 8.7.0

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