Filter: classifai_{$feature}_has_access

apply_filters( 'classifai_{$feature}_has_access', $access, $settings ) → {bool}

Filter to override user access to a ClassifAI feature.

Parameters:
Name Type Description
$access bool

Current access value.

$settings array

Feature settings.

Since:
  • 3.0.0
Source:
Returns:

Should the user have access?

Type
bool