Automattic\WooCommerce\Admin\Features
Features::add_features_settings
Deprecated since 7.0. It is no longer supported and may be removed in future releases. See
FeaturesController class)
.Adds the Features settings.
Method of the class: Features{}
No Hooks.
Returns
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() Features::add features settings code WC 9.9.4
public static function add_features_settings( $settings, $current_section ) { return $settings; }