Warning: This method has been deprecated. since 1.9.0, use Features::is_enabled( $feature ) instead.
Loader::is_feature_enabled( string $feature )
Returns if a specific wc-admin feature is enabled.
Description Description
Parameters Parameters
- $feature
-
(Required) Feature slug.
Return Return
(bool) Returns true if the feature is enabled.
Source Source
File: packages/woocommerce-admin/src/Loader.php