$isFeatureEnabled()

Overview

public any function $isFeatureEnabled()

Proxy to the isFeatureEnabled() method of the Feature service.

Example

if ( $isFeatureEnabled( "websiteUsers" ) ) {
        // ...
}