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.

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).

Features::add_features_settings() code WC 8.7.0

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