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