Filter: ep_pre_request_args

apply_filters( 'ep_pre_request_args', $args, $path, $query_args, $type ) → {array}

Filter Elasticsearch args prior to remote request

Parameters:
Name Type Description
$args array

Request args

$path string

Site URL to retrieve

$query_args array

The query args originally passed to WP_Query.

$type string | null

Type of request, used for debugging.

Since:
  • 3.6.4
Source:
Returns:

New request args

Type
array