apply_filters( 'ep_post_unindexable_documents_query', $query ) → {array}
Filter the query of the documents deleted because they would not be indexed anymore.
Return an empty value to skip the deletion.
Parameters:
| Name | Type | Description |
|---|---|---|
$query |
array | Elasticsearch query. |
- Since:
- 5.3.7
- Source:
Returns:
New query.
- Type
- array