Filter: classifai_threshold

apply_filters( 'classifai_threshold', $threshold, $taxonomy ) → {float}

Filter the threshold for the similarity calculation.

Parameters:
Name Type Description
$threshold float

The threshold to use.

$taxonomy string

The taxonomy to get the threshold for.

Since:
  • 2.5.0
Source:
Returns:

The threshold to use.

Type
float

apply_filters( 'classifai_threshold', $threshold, $taxonomy ) → {float}

Filter the threshold for the similarity calculation.

Parameters:
Name Type Description
$threshold float

The threshold to use.

$taxonomy string

The taxonomy to get the threshold for.

Since:
  • 2.5.0
Source:
Returns:

The threshold to use.

Type
float