Automattic\WooCommerce\Admin\Features

Features::load_features()public staticWC 1.0

Class loader for enabled WooCommerce Admin features/sections.

Метод класса: Features{}

Хуков нет.

Возвращает

null. Ничего.

Использование

$result = Features::load_features();

Код Features::load_features() WC 7.3.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();
		}
	}
}