Action: ep_wp_query_search

Fires before returning posts from query

Pre-3.0 backwards compat

Parameters:
Name Type Description
$new_posts array

Array of posts from query

$ep_query array

Raw Elasticsearch query

$query WP_Query

WordPress query

Source: