Filter: classifai_{$this->option_name}_enable_{$feature}

apply_filters( 'classifai_{$this->option_name}_enable_{$feature}', $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:
  • 2.4.0
Source:
Returns:

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

Type
bool