Features::exists( string $feature )
Returns if a specific wc-admin feature exists in the current environment.
Description Description
Parameters Parameters
- $feature
-
(Required) Feature slug.
Return Return
(bool) Returns true if the feature exists.
Source Source
File: packages/woocommerce-admin/src/Features/Features.php