Automattic\WooCommerce\Admin\Features

Features::add_features_settings()public staticWC 1.0

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

Adds the Features settings.

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

No Hooks.

Return

Array.

Usage

$result = Features::add_features_settings( $settings, $current_section );
$settings(array) (required)
Settings.
$current_section(string) (required)
Current section slug.

Changelog

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

Code of Features::add_features_settings() WC 7.1.0

public static function add_features_settings( $settings, $current_section ) {
	return $settings;
}