Filter: ep_retrieve_the_{index_type}

apply_filters( 'ep_retrieve_the_{index_type}', $document, $hit, $index ) → {array}

Filter Elasticsearch retrieved document

Parameters:
Name Type Description
$document array

Document retrieved from Elasticsearch

$hit array

Raw Elasticsearch hit

$index string

Index name

Source:
Returns:

New document

Type
array