Automattic\WooCommerce\Admin\Features
Features::add_features_section
Deprecated since 7.0. It is no longer supported and may be removed in future releases. See
FeaturesController class).Adds the Features section to the advanced tab of WooCommerce Settings
Method of the class: Features{}
No Hooks.
Returns
Array.
Usage
$result = Features::add_features_section( $sections );
- $sections(array) (required)
- Sections.
Changelog
| Deprecated since 7.0 | The WooCommerce Admin features are now handled by the WooCommerce features engine (see the FeaturesController class). |
Features::add_features_section() Features::add features section code WC 10.4.3
public static function add_features_section( $sections ) {
return $sections;
}