Filter: classifai_azure_openai_embeddings_should_classify

apply_filters( 'classifai_azure_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:
  • 3.1.0
Source:
Returns:

Whether the item should be classified.

Type
bool

apply_filters( 'classifai_azure_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:
  • 3.1.0
Source:
Returns:

Whether the item should be classified.

Type
bool