wzkb_ai_retriever_query_args
Filter the WP_Query arguments used to find articles for a question.
Type: filter
Since: 3.2.0
Source: includes/pro/ai/class-search-retriever.php line 381
Parameters
| Type | Name | Description |
|---|---|---|
array |
$args |
WP_Query arguments. |
string |
$question |
Visitor question. |
Usage
add_filter( 'wzkb_ai_retriever_query_args', function($args, $question) {
// ...
return $args;
} );