Filter: classifai_feature_threshold

apply_filters( 'classifai_feature_threshold', $threshold, $feature ) → {string}

Filter the threshold for a specific feature. Any results below the threshold will be ignored.

Parameters:
Name Type Description
$threshold string

The threshold to use, expressed as a decimal between 0 and 1 inclusive.

$feature string

The feature in question.

Since:
  • 1.0.0
Source:
Returns:

The filtered threshold.

Type
string