Skip to main content

Filter: classifai_should_classify_post

Filter whether ClassifAI should classify a post.

Default is true, return false to skip classifying a post.

Parameters

NameTypeDescription
$should_classifyboolWhether the post should be classified. Default true, return false to skip classification for this post.
$post_idintThe ID of the post to be considered for classification.

Since

  • 1.2.0

Source

Defined in includes/Classifai/Providers/Watson/NLU.php at line 483

Returns

Whether the post should be classified.

Ready to Get Started?

ClassifAI is a Free WordPress plugin that connects to your choice of AI platforms.