Automattic\WooCommerce\Admin\Features

Features::load_features()public staticWC 1.0

Class loader for enabled WooCommerce Admin features/sections.

Method of the class: Features{}

No Hooks.

Return

null. Nothing.

Usage

$result = Features::load_features();

Features::load_features() code WC 7.1.0

public static function load_features() {
	$features = self::get_features();
	foreach ( $features as $feature ) {
		$feature_class = self::get_feature_class( $feature );

		if ( $feature_class ) {
			new $feature_class();
		}
	}
}