WordPress at a glance
function is not described

Automattic\WooCommerce\Admin

Loader::is_feature_enabled() public WC 1.0

Deprecated from version 1.9.0. It is no longer supported and can be removed in future releases. Use Features::is_enabled( $feature ) instead.

Returns if a specific wc-admin feature is enabled.

{} It's a method of the class: Loader{}

No Hooks.

Return

true|false. Returns true if the feature is enabled.

Usage

$result = Loader::is_feature_enabled( $feature );
$feature(string) (required)
Feature slug.

Changelog

Deprecated Since 1.9.0 , use Features::is_enabled( $feature )

Code of Loader::is_feature_enabled() WC 5.3.0

<?php
public static function is_feature_enabled( $feature ) {
	return Features::is_enabled( $feature );
}