Filter: classifai_openai_embeddings_max_posts

apply_filters( 'classifai_openai_embeddings_max_posts', $posts ) → {int}

Filter the max number of posts.

Default for this is 5000 but this filter can be used to change this, either decreasing to help with performance or increasing to ensure we consider more.

Parameters:
Name Type Description
$posts int

The default maximum posts.

Since:
  • 3.4.0
Source:
Returns:

The maximum posts.

Type
int