Filter: classifai_openai_embeddings_should_classify

apply_filters( 'classifai_openai_embeddings_should_classify', $should_classify, $id, $type ) → {bool}

Filter whether ClassifAI should classify an item.

Default is true, return false to skip classifying.

Parameters:
Name Type Description
$should_classify bool

Whether the item should be classified. Default true, return false to skip.

$id int

The ID of the item to be considered for classification.

$type string

The type of item to be considered for classification.

Since:
  • 2.2.0
Source:
Returns:

Whether the post should be classified.

Type
bool