do_action( 'ep_valid_response', $response, $query, $query_args, $query_object )
Fires after valid Elasticsearch query
Parameters:
Name | Type | Description |
---|---|---|
$response |
array | Elasticsearch decoded response |
$query |
array | Prepared Elasticsearch query |
$query_args |
array | Current WP Query arguments |
$query_object |
mixed | Could be WP_Query, WP_User_Query, etc. |