Filter: classifai_{$feature}_is_feature_enabled

apply_filters( 'classifai_{$feature}_is_feature_enabled', $is_feature_enabled, $settings ) → {bool}

Filter to override permission to a specific classifai feature.

Parameters:
Name Type Description
$is_feature_enabled bool

Is the feature enabled?

$settings array

Current feature settings.

Since:
  • 3.0.0
Source:
Returns:

Returns true if the user has access and the feature is enabled, false otherwise.

Type
bool