Filter: ep_pre_request_host

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

Source:
Returns:

New host

Type
string