Filter: classifai_feature_threshold

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

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

Parameters:
Name Type Description
$threshold float

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
float