Action: ep_wp_query

do_action( 'ep_wp_query', $new_posts, $ep_query, $query )

Fires before returning posts from query

Parameters:
Name Type Description
$new_posts array

Array of posts from query

$ep_query array

Raw Elasticsearch query

$query WP_Query

WordPress query

Source: