apply_filters( 'ep_pre_request_host', Request, $failures, $path, $args ) → {string}
Filter Elasticsearch host prior to remote request
Parameters:
Name | Type | Description |
---|---|---|
Request |
string | host |
$failures |
int | Number of current failures |
$path |
string | Request path |
$args |
array | Request arguments |
Returns:
New host
- Type
- string