apply_filters( 'ep_query_request_path', $path, $index, $type, $query, $query_args, $query_object ) → {string}
Filter Elasticsearch query request path
Parameters:
Name | Type | Description |
---|---|---|
$path |
string | Request path |
$index |
string | Index name |
$type |
string | Index type |
$query |
array | Prepared Elasticsearch query |
$query_args |
array | Query arguments |
$query_object |
mixed | Could be WP_Query, WP_User_Query, etc. |
Returns:
New path
- Type
- string