Skip to main content

Filter: gf_zero_spam_ai_provider

Modifies the AI provider used for the current classification request.

Return an empty string to use the WordPress AI Client default provider.

Parameters

NameTypeDescription
$provider_idstringProvider ID, or empty string for automatic selection.
$contextstringEither "review" or "rescue".
$formarrayThe form currently being processed.
$entryarrayThe entry currently being processed.

Since

  • 1.9.0

Source

Defined in includes/class-gf-zero-spam-ai-review.php at line 1175